home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Mac OS Development Toolkit / Automation Essentials 2.3.0 / • Other Stuff / Cool SPEC Documents / Localization Guide < prev    next >
MacBinary  |  1998-03-19  |  150.3 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Wed May 11 06:41:21 1994, modified Thu Mar 19 14:04:15 1998, creator 'HLX2', type 'ONLN', 149581 bytes "Localization Guide" , at 0x248cd 4046 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 4c 6f 63 61 6c 69 | 7a 61 74 69 6f 6e 20 47 |..Locali|zation G|
|00000010| 75 69 64 65 00 00 00 00 | 00 00 00 00 00 00 00 00 |uide....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 00 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 02 48 4d 00 | 00 0f ce a9 f6 66 d1 b1 |.....HM.|.....f..|
|00000060| 37 1c af 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |7.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 25 48 00 00 |........|....%H..|
|00000080| 4c 6f 63 61 6c 69 7a 61 | 74 69 6f 6e 20 47 75 69 |Localiza|tion Gui|
|00000090| 64 65 0d 74 6f 20 53 50 | 45 43 20 53 26 4c 20 31 |de.to SP|EC S&L 1|
|000000a0| 2e 31 0d 44 6f 63 75 6d | 65 6e 74 20 56 65 72 73 |.1.Docum|ent Vers|
|000000b0| 69 6f 6e 20 31 2e 30 0d | 20 0d 43 6f 6e 74 65 6e |ion 1.0.| .Conten|
|000000c0| 74 73 0d 41 62 6f 75 74 | 20 74 68 69 73 20 44 6f |ts.About| this Do|
|000000d0| 63 75 6d 65 6e 74 20 20 | 20 20 20 33 0d 49 6e 74 |cument | 3.Int|
|000000e0| 72 6f 64 75 63 74 69 6f | 6e 20 20 20 20 20 34 0d |roductio|n 4.|
|000000f0| 4f 76 65 72 76 69 65 77 | 20 20 20 20 20 34 0d 52 |Overview| 4.R|
|00000100| 65 71 75 69 72 65 6d 65 | 6e 74 73 20 20 20 20 20 |equireme|nts |
|00000110| 34 0d 42 65 6e 65 66 69 | 74 73 20 20 20 20 20 34 |4.Benefi|ts 4|
|00000120| 0d 43 68 61 6c 6c 65 6e | 67 65 73 20 20 20 20 20 |.Challen|ges |
|00000130| 34 0d 53 65 74 75 70 20 | 61 6e 64 20 45 78 65 63 |4.Setup |and Exec|
|00000140| 75 74 69 6f 6e 20 20 20 | 20 20 35 0d 54 61 72 67 |ution | 5.Targ|
|00000150| 65 74 20 53 65 74 75 70 | 20 20 20 20 20 35 0d 45 |et Setup| 5.E|
|00000160| 78 65 63 75 74 69 6f 6e | 20 20 20 20 20 35 0d 44 |xecution| 5.D|
|00000170| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 20 20 20 20 38 |evelopme|nt 8|
|00000180| 0d 47 65 6e 65 72 61 6c | 20 54 69 70 73 20 61 6e |.General| Tips an|
|00000190| 64 20 48 69 6e 74 73 20 | 20 20 20 20 38 0d 53 50 |d Hints | 8.SP|
|000001a0| 45 43 20 53 26 4c 20 62 | 61 73 65 64 20 4c 6f 63 |EC S&L b|ased Loc|
|000001b0| 61 6c 69 7a 65 64 2f 4c | 6f 63 61 6c 69 7a 65 61 |alized/L|ocalizea|
|000001c0| 62 6c 65 20 53 63 72 69 | 70 74 73 20 20 20 20 20 |ble Scri|pts |
|000001d0| 39 0d 41 70 70 65 6e 64 | 69 78 20 20 20 20 20 32 |9.Append|ix 2|
|000001e0| 31 0d 43 6f 64 65 20 46 | 72 61 67 6d 65 6e 74 20 |1.Code F|ragment |
|000001f0| 6f 66 20 4c 6f 63 61 6c | 69 7a 61 62 6c 65 20 51 |of Local|izable Q|
|00000200| 75 69 63 6b 6c 6f 6f 6b | 20 53 63 72 69 70 74 20 |uicklook| Script |
|00000210| 20 20 20 20 32 31 0d 43 | 6f 64 65 20 46 72 61 67 | 21.C|ode Frag|
|00000220| 6d 65 6e 74 20 6f 66 20 | 4e 6f 6e 6c 6f 63 61 6c |ment of |Nonlocal|
|00000230| 69 7a 61 62 6c 65 20 51 | 75 69 63 6b 6c 6f 6f 6b |izable Q|uicklook|
|00000240| 20 53 63 72 69 70 74 20 | 20 20 20 20 32 31 0d 41 | Script | 21.A|
|00000250| 62 6f 75 74 20 74 68 69 | 73 20 44 6f 63 75 6d 65 |bout thi|s Docume|
|00000260| 6e 74 0d 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |nt.This |document|
|00000270| 20 69 73 20 61 20 67 75 | 69 64 65 20 74 6f 20 74 | is a gu|ide to t|
|00000280| 68 65 20 65 78 65 63 75 | 74 69 6f 6e 20 61 6e 64 |he execu|tion and|
|00000290| 20 64 65 76 65 6c 6f 70 | 6d 65 6e 74 20 6f 66 20 | develop|ment of |
|000002a0| 53 50 45 43 20 53 26 4c | 20 62 61 73 65 64 20 73 |SPEC S&L| based s|
|000002b0| 63 72 69 70 74 73 20 74 | 68 61 74 20 61 72 65 3a |cripts t|hat are:|
|000002c0| 0d 31 29 20 6c 6f 63 61 | 6c 69 7a 65 64 20 66 6f |.1) loca|lized fo|
|000002d0| 72 20 64 69 66 66 65 72 | 65 6e 74 20 6c 61 6e 67 |r differ|ent lang|
|000002e0| 75 61 67 65 73 0d 32 29 | 20 6c 6f 63 61 6c 69 7a |uages.2)| localiz|
|000002f0| 61 62 6c 65 20 66 6f 72 | 20 61 64 64 69 74 69 6f |able for| additio|
|00000300| 6e 61 6c 20 6c 61 6e 67 | 75 61 67 65 73 2e 0d 49 |nal lang|uages..I|
|00000310| 6e 20 74 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 2c |n this d|ocument,|
|00000320| 20 74 68 65 73 65 20 73 | 63 72 69 70 74 73 20 77 | these s|cripts w|
|00000330| 69 6c 6c 20 62 65 20 72 | 65 66 65 72 72 65 64 20 |ill be r|eferred |
|00000340| 74 6f 20 61 73 20 22 6c | 6f 63 61 6c 69 7a 65 64 |to as "l|ocalized|
|00000350| 2f 6c 6f 63 61 6c 69 7a | 65 61 62 6c 65 20 73 63 |/localiz|eable sc|
|00000360| 72 69 70 74 73 22 2e 0d | 50 6c 65 61 73 65 20 73 |ripts"..|Please s|
|00000370| 65 65 20 54 68 65 20 48 | 69 74 63 68 48 69 6b 65 |ee The H|itchHike|
|00000380| 72 27 73 20 47 75 69 64 | 65 20 74 6f 20 53 50 45 |r's Guid|e to SPE|
|00000390| 43 20 53 26 4c 20 66 6f | 72 20 61 64 64 69 74 69 |C S&L fo|r additi|
|000003a0| 6f 6e 61 6c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |onal inf|ormation|
|000003b0| 20 6f 6e 20 74 68 65 20 | 53 50 45 43 20 53 26 4c | on the |SPEC S&L|
|000003c0| 20 70 61 63 6b 61 67 65 | 2e 0d 0d 49 6e 74 72 6f | package|...Intro|
|000003d0| 64 75 63 74 69 6f 6e 0d | 49 6e 73 74 61 6c 6c 69 |duction.|Installi|
|000003e0| 6e 67 20 61 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |ng a loc|alized s|
|000003f0| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 63 72 65 |cript sy|stem cre|
|00000400| 61 74 65 73 20 61 20 77 | 68 6f 6c 65 20 6e 65 77 |ates a w|hole new|
|00000410| 20 73 65 74 20 6f 66 20 | 63 68 61 6c 6c 65 6e 67 | set of |challeng|
|00000420| 65 73 20 74 6f 20 69 6e | 64 69 76 69 64 75 61 6c |es to in|dividual|
|00000430| 73 20 77 72 69 74 69 6e | 67 20 61 75 74 6f 6d 61 |s writin|g automa|
|00000440| 74 69 6f 6e 20 74 65 73 | 74 20 73 63 72 69 70 74 |tion tes|t script|
|00000450| 73 2e 20 20 54 68 65 73 | 65 20 63 68 61 6c 6c 65 |s. Thes|e challe|
|00000460| 6e 67 65 73 20 73 74 65 | 6d 20 66 72 6f 6d 20 74 |nges ste|m from t|
|00000470| 68 65 20 66 61 63 74 20 | 74 68 61 74 20 6a 75 73 |he fact |that jus|
|00000480| 74 20 63 68 61 6e 67 69 | 6e 67 20 74 68 65 20 73 |t changi|ng the s|
|00000490| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 6c 65 61 |cript sy|stem lea|
|000004a0| 64 73 20 74 6f 20 61 20 | 77 68 6f 6c 65 20 6e 65 |ds to a |whole ne|
|000004b0| 77 20 73 65 74 20 6f 66 | 20 76 61 72 69 61 62 6c |w set of| variabl|
|000004c0| 65 73 3a 20 6e 65 77 20 | 69 6e 70 75 74 20 6d 65 |es: new |input me|
|000004d0| 74 68 6f 64 73 2c 20 6c | 6f 63 61 6c 69 7a 65 64 |thods, l|ocalized|
|000004e0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2c 20 65 | applica|tions, e|
|000004f0| 74 63 2e 0d 57 69 74 68 | 69 6e 20 53 50 45 43 20 |tc..With|in SPEC |
|00000500| 53 26 4c 20 77 65 20 68 | 61 76 65 20 74 72 69 65 |S&L we h|ave trie|
|00000510| 64 20 74 6f 20 61 64 64 | 72 65 73 73 20 74 68 65 |d to add|ress the|
|00000520| 20 6d 61 6a 6f 72 69 74 | 79 20 6f 66 20 74 68 65 | majorit|y of the|
|00000530| 73 65 20 69 73 73 75 65 | 73 2e 20 20 53 50 45 43 |se issue|s. SPEC|
|00000540| 20 53 26 4c 20 70 72 6f | 76 69 64 65 73 20 61 20 | S&L pro|vides a |
|00000550| 66 6c 65 78 69 62 6c 65 | 2c 20 65 61 73 79 20 74 |flexible|, easy t|
|00000560| 6f 20 63 6f 6e 66 69 67 | 75 72 65 20 6d 65 63 68 |o config|ure mech|
|00000570| 61 6e 69 73 6d 20 74 6f | 20 68 61 6e 64 6c 65 20 |anism to| handle |
|00000580| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 63 72 69 70 74 |localize|d script|
|00000590| 20 73 79 73 74 65 6d 73 | 2e 20 20 49 74 20 61 6c | systems|. It al|
|000005a0| 6c 6f 77 73 20 66 6f 72 | 20 61 20 77 69 64 65 20 |lows for| a wide |
|000005b0| 76 61 72 69 65 74 79 20 | 6f 66 20 63 6f 6d 62 69 |variety |of combi|
|000005c0| 6e 61 74 69 6f 6e 73 20 | 6f 66 20 73 63 72 69 70 |nations |of scrip|
|000005d0| 74 20 73 79 73 74 65 6d | 73 2c 20 6c 6f 63 61 6c |t system|s, local|
|000005e0| 69 7a 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ized app|lication|
|000005f0| 73 2c 20 61 6e 64 20 69 | 6e 70 75 74 20 6d 65 74 |s, and i|nput met|
|00000600| 68 6f 64 73 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |hods. F|or examp|
|00000610| 6c 65 2c 20 69 74 20 69 | 73 20 70 6f 73 73 69 62 |le, it i|s possib|
|00000620| 6c 65 20 74 6f 20 72 75 | 6e 20 61 20 51 75 69 63 |le to ru|n a Quic|
|00000630| 6b 6c 6f 6f 6b 20 66 6f | 72 20 74 68 65 20 4a 61 |klook fo|r the Ja|
|00000640| 70 61 6e 65 73 65 20 76 | 65 72 73 69 6f 6e 20 6f |panese v|ersion o|
|00000650| 66 20 4d 61 63 57 72 69 | 74 65 20 6f 6e 20 61 20 |f MacWri|te on a |
|00000660| 48 65 62 72 65 77 20 73 | 63 72 69 70 74 20 73 79 |Hebrew s|cript sy|
|00000670| 73 74 65 6d 2e 0d 55 6e | 64 65 72 73 74 61 6e 64 |stem..Un|derstand|
|00000680| 69 6e 67 20 77 68 61 74 | 20 74 68 65 20 69 73 73 |ing what| the iss|
|00000690| 75 65 73 20 61 72 65 2c | 20 61 6e 64 20 68 6f 77 |ues are,| and how|
|000006a0| 20 53 50 45 43 20 53 26 | 4c 20 64 65 61 6c 73 20 | SPEC S&|L deals |
|000006b0| 77 69 74 68 20 74 68 65 | 6d 20 69 73 20 69 6d 70 |with the|m is imp|
|000006c0| 6f 72 74 61 6e 74 20 69 | 6e 20 6f 72 64 65 72 20 |ortant i|n order |
|000006d0| 74 6f 20 64 65 76 65 6c | 6f 70 20 6c 6f 63 61 6c |to devel|op local|
|000006e0| 69 7a 61 62 6c 65 20 73 | 63 72 69 70 74 73 20 75 |izable s|cripts u|
|000006f0| 73 69 6e 67 20 53 50 45 | 43 20 53 26 4c 2e 20 20 |sing SPE|C S&L. |
|00000700| 54 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 77 69 |This doc|ument wi|
|00000710| 6c 6c 20 64 65 73 63 72 | 69 62 65 20 65 61 63 68 |ll descr|ibe each|
|00000720| 20 6f 66 20 74 68 65 20 | 69 73 73 75 65 73 20 61 | of the |issues a|
|00000730| 6e 64 20 68 6f 77 20 53 | 50 45 43 20 53 26 4c 20 |nd how S|PEC S&L |
|00000740| 68 61 6e 64 6c 65 73 20 | 74 68 65 6d 2e 20 0d 4f |handles |them. .O|
|00000750| 76 65 72 76 69 65 77 0d | 54 68 65 72 65 20 61 72 |verview.|There ar|
|00000760| 65 20 74 77 6f 20 6d 61 | 6a 6f 72 20 73 65 63 74 |e two ma|jor sect|
|00000770| 69 6f 6e 73 20 6f 66 20 | 74 68 69 73 20 64 6f 63 |ions of |this doc|
|00000780| 75 6d 65 6e 74 2e 20 20 | 54 68 65 20 66 69 72 73 |ument. |The firs|
|00000790| 74 20 73 65 63 74 69 6f | 6e 20 63 6f 76 65 72 73 |t sectio|n covers|
|000007a0| 20 73 65 74 75 70 20 61 | 6e 64 20 65 78 65 63 75 | setup a|nd execu|
|000007b0| 74 69 6f 6e 20 6f 66 20 | 53 50 45 43 20 53 26 4c |tion of |SPEC S&L|
|000007c0| 20 62 61 73 65 64 20 6c | 6f 63 61 6c 69 7a 65 64 | based l|ocalized|
|000007d0| 2f 6c 6f 63 61 6c 69 7a | 65 61 62 6c 65 20 73 63 |/localiz|eable sc|
|000007e0| 72 69 70 74 73 2e 20 20 | 54 68 65 20 73 65 63 6f |ripts. |The seco|
|000007f0| 6e 64 20 73 65 63 74 69 | 6f 6e 20 63 6f 76 65 72 |nd secti|on cover|
|00000800| 73 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 6f 66 |s develo|pment of|
|00000810| 20 53 50 45 43 20 53 26 | 4c 20 62 61 73 65 64 20 | SPEC S&|L based |
|00000820| 6c 6f 63 61 6c 69 7a 65 | 64 2f 6c 6f 63 61 6c 69 |localize|d/locali|
|00000830| 7a 65 61 62 6c 65 20 73 | 63 72 69 70 74 73 2e 0d |zeable s|cripts..|
|00000840| 52 65 71 75 69 72 65 6d | 65 6e 74 73 0d 54 68 65 |Requirem|ents.The|
|00000850| 20 53 50 45 43 20 53 26 | 4c 20 70 61 63 6b 61 67 | SPEC S&|L packag|
|00000860| 65 20 69 6e 63 6c 75 64 | 65 73 20 61 6c 6c 20 6c |e includ|es all l|
|00000870| 69 62 72 61 72 69 65 73 | 20 61 6e 64 20 74 6f 6f |ibraries| and too|
|00000880| 6c 73 20 28 6f 74 68 65 | 72 20 74 68 61 6e 20 56 |ls (othe|r than V|
|00000890| 69 72 74 75 61 6c 20 55 | 73 65 72 20 69 74 73 65 |irtual U|ser itse|
|000008a0| 6c 66 29 20 6e 65 63 65 | 73 73 61 72 79 20 66 6f |lf) nece|ssary fo|
|000008b0| 72 20 65 78 65 63 75 74 | 69 6e 67 20 6c 6f 63 61 |r execut|ing loca|
|000008c0| 6c 69 7a 65 64 2f 6c 6f | 63 61 6c 69 7a 65 61 62 |lized/lo|calizeab|
|000008d0| 6c 65 20 73 63 72 69 70 | 74 73 2e 20 20 54 6f 20 |le scrip|ts. To |
|000008e0| 64 65 76 65 6c 6f 70 20 | 6c 6f 63 61 6c 69 7a 65 |develop |localize|
|000008f0| 64 2f 6c 6f 63 61 6c 69 | 7a 65 61 62 6c 65 20 73 |d/locali|zeable s|
|00000900| 63 72 69 70 74 73 2c 20 | 61 20 72 65 73 6f 75 72 |cripts, |a resour|
|00000910| 63 65 20 65 64 69 74 6f | 72 2c 20 73 75 63 68 20 |ce edito|r, such |
|00000920| 61 73 20 52 65 73 45 64 | 69 74 2c 20 69 73 20 72 |as ResEd|it, is r|
|00000930| 65 71 75 69 72 65 64 20 | 74 6f 20 64 65 66 69 6e |equired |to defin|
|00000940| 65 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 72 65 73 |e additi|onal res|
|00000950| 6f 75 72 63 65 73 20 69 | 6e 20 74 68 65 20 73 63 |ources i|n the sc|
|00000960| 72 69 70 74 2c 20 69 6e | 20 61 64 64 69 74 69 6f |ript, in| additio|
|00000970| 6e 20 74 6f 20 61 20 74 | 65 78 74 20 65 64 69 74 |n to a t|ext edit|
|00000980| 6f 72 20 73 75 63 68 20 | 61 73 20 4d 50 57 2e 0d |or such |as MPW..|
|00000990| 42 65 6e 65 66 69 74 73 | 0d 42 79 20 61 64 68 65 |Benefits|.By adhe|
|000009a0| 72 69 6e 67 20 74 6f 20 | 74 68 65 20 73 74 61 6e |ring to |the stan|
|000009b0| 64 61 72 64 73 20 74 68 | 61 74 20 61 72 65 20 73 |dards th|at are s|
|000009c0| 65 74 20 66 6f 72 74 68 | 20 69 6e 20 74 68 69 73 |et forth| in this|
|000009d0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 74 68 65 20 73 | documen|t, the s|
|000009e0| 63 72 69 70 74 73 20 74 | 68 61 74 20 61 72 65 20 |cripts t|hat are |
|000009f0| 64 65 76 65 6c 6f 70 65 | 64 20 66 6f 72 20 55 53 |develope|d for US|
|00000a00| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 75 73 | applica|tions us|
|00000a10| 69 6e 67 20 53 50 45 43 | 20 53 26 4c 20 63 61 6e |ing SPEC| S&L can|
|00000a20| 20 65 61 73 69 6c 79 20 | 62 65 20 75 70 64 61 74 | easily |be updat|
|00000a30| 65 64 20 74 6f 20 72 75 | 6e 20 6f 6e 20 6d 61 6e |ed to ru|n on man|
|00000a40| 79 20 64 69 66 66 65 72 | 65 6e 74 20 73 63 72 69 |y differ|ent scri|
|00000a50| 70 74 20 73 79 73 74 65 | 6d 73 20 61 6e 64 20 77 |pt syste|ms and w|
|00000a60| 69 74 68 20 6d 61 6e 79 | 20 64 69 66 66 65 72 65 |ith many| differe|
|00000a70| 6e 74 20 6c 6f 63 61 6c | 69 7a 65 64 20 76 65 72 |nt local|ized ver|
|00000a80| 73 69 6f 6e 73 20 6f 66 | 20 74 68 65 20 73 61 6d |sions of| the sam|
|00000a90| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 20 |e applic|ation. |
|00000aa0| 54 68 69 73 20 65 6e 61 | 62 6c 65 73 20 76 61 72 |This ena|bles var|
|00000ab0| 69 6f 75 73 20 74 65 61 | 6d 73 20 74 6f 20 75 73 |ious tea|ms to us|
|00000ac0| 65 20 74 68 65 20 73 61 | 6d 65 20 73 63 72 69 70 |e the sa|me scrip|
|00000ad0| 74 73 20 77 69 74 68 6f | 75 74 20 69 6e 76 65 73 |ts witho|ut inves|
|00000ae0| 74 69 6e 67 20 61 20 67 | 72 65 61 74 20 64 65 61 |ting a g|reat dea|
|00000af0| 6c 20 6f 66 20 74 69 6d | 65 20 61 6e 64 20 65 6e |l of tim|e and en|
|00000b00| 65 72 67 79 20 64 65 76 | 65 6c 6f 70 69 6e 67 20 |ergy dev|eloping |
|00000b10| 73 65 70 65 72 61 74 65 | 20 73 63 72 69 70 74 73 |seperate| scripts|
|00000b20| 20 66 6f 72 20 65 61 63 | 68 20 6c 6f 63 61 6c 69 | for eac|h locali|
|00000b30| 7a 65 64 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |zed vers|ion of t|
|00000b40| 68 65 20 73 61 6d 65 20 | 61 70 70 6c 69 63 61 74 |he same |applicat|
|00000b50| 69 6f 6e 2e 0d 43 68 61 | 6c 6c 65 6e 67 65 73 0d |ion..Cha|llenges.|
|00000b60| 44 65 76 65 6c 6f 70 69 | 6e 67 20 6c 6f 63 61 6c |Developi|ng local|
|00000b70| 69 7a 65 64 2f 6c 6f 63 | 61 6c 69 7a 61 62 6c 65 |ized/loc|alizable|
|00000b80| 20 73 63 72 69 70 74 73 | 20 20 72 65 71 75 69 72 | scripts| requir|
|00000b90| 65 73 20 6d 6f 72 65 20 | 77 6f 72 6b 20 74 6f 20 |es more |work to |
|00000ba0| 62 65 20 64 6f 6e 65 20 | 75 70 20 66 72 6f 6e 74 |be done |up front|
|00000bb0| 20 74 68 61 6e 20 77 72 | 69 74 69 6e 67 20 6e 6f | than wr|iting no|
|00000bc0| 6e 2d 6c 6f 63 61 6c 69 | 7a 61 62 6c 65 20 73 63 |n-locali|zable sc|
|00000bd0| 72 69 70 74 73 2e 20 20 | 57 68 69 6c 65 20 74 68 |ripts. |While th|
|00000be0| 65 20 63 68 61 6e 67 65 | 73 20 61 72 65 20 66 61 |e change|s are fa|
|00000bf0| 69 72 6c 79 20 73 74 72 | 61 69 67 68 74 66 6f 72 |irly str|aightfor|
|00000c00| 77 61 72 64 20 61 6e 64 | 20 73 68 6f 75 6c 64 6e |ward and| shouldn|
|00000c10| 27 74 20 74 61 6b 65 20 | 74 6f 6f 20 6d 75 63 68 |'t take |too much|
|00000c20| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 74 69 6d 65 | additio|nal time|
|00000c30| 2c 20 75 6e 64 65 72 73 | 74 61 6e 64 69 6e 67 20 |, unders|tanding |
|00000c40| 74 68 65 20 66 65 61 74 | 75 72 65 73 20 61 6e 64 |the feat|ures and|
|00000c50| 20 74 65 72 6d 69 6e 6f | 6c 6f 67 79 20 6f 66 20 | termino|logy of |
|00000c60| 69 6e 74 65 72 6e 61 74 | 69 6f 6e 61 6c 20 73 79 |internat|ional sy|
|00000c70| 73 74 65 6d 20 73 6f 66 | 74 77 61 72 65 20 61 6e |stem sof|tware an|
|00000c80| 64 20 6c 6f 63 61 6c 69 | 7a 65 64 20 61 70 70 6c |d locali|zed appl|
|00000c90| 69 63 61 74 69 6f 6e 73 | 20 61 6e 64 20 68 6f 77 |ications| and how|
|00000ca0| 20 74 68 65 20 53 50 45 | 43 20 53 26 4c 20 6c 69 | the SPE|C S&L li|
|00000cb0| 62 72 61 72 69 65 73 20 | 20 68 61 6e 64 6c 65 20 |braries | handle |
|00000cc0| 74 68 65 6d 20 77 69 6c | 6c 20 70 72 6f 62 61 62 |them wil|l probab|
|00000cd0| 6c 79 20 62 65 20 74 68 | 65 20 6d 6f 73 74 20 74 |ly be th|e most t|
|00000ce0| 69 6d 65 20 63 6f 6e 73 | 75 6d 69 6e 67 2e 20 20 |ime cons|uming. |
|00000cf0| 0d 53 65 74 75 70 20 61 | 6e 64 20 45 78 65 63 75 |.Setup a|nd Execu|
|00000d00| 74 69 6f 6e 0d 54 68 69 | 73 20 73 65 63 74 69 6f |tion.Thi|s sectio|
|00000d10| 6e 20 77 69 6c 6c 20 61 | 64 64 72 65 73 73 20 72 |n will a|ddress r|
|00000d20| 65 71 75 69 72 65 6d 65 | 6e 74 73 20 73 70 65 63 |equireme|nts spec|
|00000d30| 69 66 69 63 20 74 6f 20 | 74 68 65 20 73 65 74 75 |ific to |the setu|
|00000d40| 70 20 61 6e 64 20 65 78 | 65 63 75 74 69 6f 6e 20 |p and ex|ecution |
|00000d50| 6f 66 20 73 63 72 69 70 | 74 73 20 6c 6f 63 61 6c |of scrip|ts local|
|00000d60| 69 7a 65 64 20 75 73 69 | 6e 67 20 74 68 65 20 53 |ized usi|ng the S|
|00000d70| 50 45 43 20 53 26 4c 20 | 31 2e 31 20 6c 69 62 72 |PEC S&L |1.1 libr|
|00000d80| 61 72 69 65 73 20 28 73 | 75 63 68 20 61 73 20 74 |aries (s|uch as t|
|00000d90| 68 65 20 6c 6f 63 61 6c | 69 7a 65 64 2f 6c 6f 63 |he local|ized/loc|
|00000da0| 61 6c 69 7a 65 61 62 6c | 65 20 43 6f 6d 70 61 74 |alizeabl|e Compat|
|00000db0| 69 62 69 6c 69 74 79 20 | 61 6e 64 20 50 65 72 66 |ibility |and Perf|
|00000dc0| 6f 72 6d 61 6e 63 65 20 | 73 63 72 69 70 74 73 20 |ormance |scripts |
|00000dd0| 74 68 61 74 20 61 72 65 | 20 69 6e 63 6c 75 64 65 |that are| include|
|00000de0| 64 20 69 6e 20 74 68 65 | 20 53 50 45 43 20 53 26 |d in the| SPEC S&|
|00000df0| 4c 20 31 2e 31 20 70 61 | 63 6b 61 67 65 29 2e 20 |L 1.1 pa|ckage). |
|00000e00| 20 50 6c 65 61 73 65 20 | 72 65 66 65 72 20 74 6f | Please |refer to|
|00000e10| 20 74 68 65 20 22 53 65 | 74 75 70 20 61 6e 64 20 | the "Se|tup and |
|00000e20| 45 78 65 63 75 74 69 6f | 6e 22 20 73 65 63 74 69 |Executio|n" secti|
|00000e30| 6f 6e 20 6f 66 20 54 68 | 65 20 48 69 74 63 68 48 |on of Th|e HitchH|
|00000e40| 69 6b 65 72 27 73 20 47 | 75 69 64 65 20 74 6f 20 |iker's G|uide to |
|00000e50| 53 50 45 43 20 53 26 4c | 20 66 6f 72 20 67 65 6e |SPEC S&L| for gen|
|00000e60| 65 72 61 6c 20 73 65 74 | 75 70 20 61 6e 64 20 65 |eral set|up and e|
|00000e70| 78 65 63 75 74 69 6f 6e | 20 72 65 71 75 69 72 65 |xecution| require|
|00000e80| 6d 65 6e 74 73 2e 20 20 | 54 68 65 20 66 6f 6c 6c |ments. |The foll|
|00000e90| 6f 77 69 6e 67 20 69 6e | 73 74 72 75 63 74 69 6f |owing in|structio|
|00000ea0| 6e 73 20 61 73 73 75 6d | 65 20 74 68 61 74 20 74 |ns assum|e that t|
|00000eb0| 68 65 20 72 65 61 64 65 | 72 20 69 73 20 66 61 6d |he reade|r is fam|
|00000ec0| 69 6c 69 61 72 20 77 69 | 74 68 20 74 68 65 20 66 |iliar wi|th the f|
|00000ed0| 65 61 74 75 72 65 73 20 | 61 6e 64 20 74 65 72 6d |eatures |and term|
|00000ee0| 69 6e 6f 6c 6f 67 79 20 | 6f 66 20 69 6e 74 65 72 |inology |of inter|
|00000ef0| 6e 61 74 69 6f 6e 61 6c | 20 73 79 73 74 65 6d 20 |national| system |
|00000f00| 73 6f 66 74 77 61 72 65 | 20 61 6e 64 20 6c 6f 63 |software| and loc|
|00000f10| 61 6c 69 7a 65 64 20 61 | 70 70 6c 69 63 61 74 69 |alized a|pplicati|
|00000f20| 6f 6e 73 2e 0d 54 61 72 | 67 65 74 20 53 65 74 75 |ons..Tar|get Setu|
|00000f30| 70 0d 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |p.Intern|ational |
|00000f40| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00000f50| 63 61 6e 20 62 65 20 69 | 6e 73 74 61 6c 6c 65 64 |can be i|nstalled|
|00000f60| 20 69 6e 20 74 68 72 65 | 65 20 77 61 79 73 3a 0d | in thre|e ways:.|
|00000f70| 31 29 20 20 49 66 20 61 | 20 6c 61 6e 67 75 61 67 |1) If a| languag|
|00000f80| 65 20 6b 69 74 20 69 73 | 20 61 76 61 69 6c 61 62 |e kit is| availab|
|00000f90| 6c 65 20 66 6f 72 20 74 | 68 65 20 64 65 73 69 72 |le for t|he desir|
|00000fa0| 65 64 20 6c 61 6e 67 75 | 61 67 65 2c 20 72 75 6e |ed langu|age, run|
|00000fb0| 20 61 6e 20 65 61 73 79 | 20 69 6e 73 74 61 6c 6c | an easy| install|
|00000fc0| 20 6f 6e 20 74 6f 70 20 | 6f 66 20 61 20 55 2e 53 | on top |of a U.S|
|00000fd0| 2e 20 73 79 73 74 65 6d | 20 28 37 2e 31 20 6f 72 |. system| (7.1 or|
|00000fe0| 20 68 69 67 68 65 72 29 | 2e 0d 32 29 20 20 44 72 | higher)|..2) Dr|
|00000ff0| 61 67 20 69 6e 73 74 61 | 6c 6c 20 74 68 65 20 73 |ag insta|ll the s|
|00001000| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 70 69 65 |cript sy|stem pie|
|00001010| 63 65 73 20 6f 66 20 74 | 68 65 20 64 65 73 69 72 |ces of t|he desir|
|00001020| 65 64 20 6c 61 6e 67 75 | 61 67 65 20 6f 6e 20 74 |ed langu|age on t|
|00001030| 6f 70 20 6f 66 20 61 20 | 55 2e 53 2e 20 73 79 73 |op of a |U.S. sys|
|00001040| 74 65 6d 20 28 37 2e 31 | 20 6f 72 20 68 69 67 68 |tem (7.1| or high|
|00001050| 65 72 29 2e 20 20 54 68 | 69 73 20 63 61 6e 20 69 |er). Th|is can i|
|00001060| 6e 63 6c 75 64 65 20 57 | 6f 72 6c 64 53 63 72 69 |nclude W|orldScri|
|00001070| 70 74 20 49 20 6f 72 20 | 49 49 2c 20 66 6f 6e 74 |pt I or |II, font|
|00001080| 73 2c 20 43 64 65 76 73 | 2c 20 65 74 63 2e 0d 33 |s, Cdevs|, etc..3|
|00001090| 29 20 20 44 72 61 67 20 | 63 6f 70 79 20 61 20 6c |) Drag |copy a l|
|000010a0| 6f 63 61 6c 69 7a 65 64 | 20 53 79 73 74 65 6d 20 |ocalized| System |
|000010b0| 46 6f 6c 64 65 72 20 74 | 6f 20 74 68 65 20 74 61 |Folder t|o the ta|
|000010c0| 72 67 65 74 20 68 61 72 | 64 20 64 72 69 76 65 2e |rget har|d drive.|
|000010d0| 0d 43 6f 70 79 20 74 68 | 65 20 64 65 73 69 72 65 |.Copy th|e desire|
|000010e0| 64 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 61 70 |d versio|ns of ap|
|000010f0| 70 6c 69 63 61 74 69 6f | 6e 73 20 61 6e 64 20 64 |plicatio|ns and d|
|00001100| 6f 63 75 6d 65 6e 74 73 | 20 74 6f 20 74 68 65 20 |ocuments| to the |
|00001110| 74 61 72 67 65 74 20 68 | 61 72 64 20 64 72 69 76 |target h|ard driv|
|00001120| 65 2c 20 61 6e 64 20 73 | 65 74 20 75 70 20 66 6f |e, and s|et up fo|
|00001130| 72 20 6c 61 75 6e 63 68 | 69 6e 67 20 61 73 20 65 |r launch|ing as e|
|00001140| 78 70 6c 61 69 6e 65 64 | 20 69 6e 20 54 68 65 20 |xplained| in The |
|00001150| 48 69 74 63 68 48 69 6b | 65 72 27 73 20 47 75 69 |HitchHik|er's Gui|
|00001160| 64 65 20 74 6f 20 53 50 | 45 43 20 53 26 4c 2e 0d |de to SP|EC S&L..|
|00001170| 41 66 74 65 72 20 69 6e | 73 74 61 6c 6c 69 6e 67 |After in|stalling|
|00001180| 20 74 68 65 20 61 62 6f | 76 65 20 73 6f 66 74 77 | the abo|ve softw|
|00001190| 61 72 65 2c 20 6f 62 74 | 61 69 6e 20 74 68 65 20 |are, obt|ain the |
|000011a0| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 61 72 67 65 74 |followin|g target|
|000011b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 77 68 | informa|tion, wh|
|000011c0| 69 63 68 20 77 69 6c 6c | 20 62 65 20 72 65 71 75 |ich will| be requ|
|000011d0| 69 72 65 64 20 66 6f 72 | 20 65 78 65 63 75 74 69 |ired for| executi|
|000011e0| 6f 6e 3a 0d 2d 20 57 68 | 61 74 20 73 63 72 69 70 |on:.- Wh|at scrip|
|000011f0| 74 20 73 79 73 74 65 6d | 73 20 61 72 65 20 69 6e |t system|s are in|
|00001200| 73 74 61 6c 6c 65 64 3f | 0d 2d 20 49 73 20 74 68 |stalled?|.- Is th|
|00001210| 65 20 70 72 69 6d 61 72 | 79 20 73 63 72 69 70 74 |e primar|y script|
|00001220| 20 73 79 73 74 65 6d 20 | 6c 6f 63 61 6c 69 7a 65 | system |localize|
|00001230| 64 3f 0d 2d 20 49 6e 20 | 77 68 61 74 20 6c 61 6e |d?.- In |what lan|
|00001240| 67 75 61 67 65 20 61 72 | 65 20 74 68 65 20 6d 65 |guage ar|e the me|
|00001250| 6e 75 73 20 61 6e 64 20 | 6d 65 6e 75 20 69 74 65 |nus and |menu ite|
|00001260| 6d 73 20 6f 66 20 65 61 | 63 68 20 61 70 70 6c 69 |ms of ea|ch appli|
|00001270| 63 61 74 69 6f 6e 3f 0d | 2d 20 49 6e 20 77 68 61 |cation?.|- In wha|
|00001280| 74 20 6c 61 6e 67 75 61 | 67 65 20 61 72 65 20 74 |t langua|ge are t|
|00001290| 68 65 20 66 6f 6e 74 73 | 20 61 6e 64 20 74 65 78 |he fonts| and tex|
|000012a0| 74 20 73 74 72 69 6e 67 | 73 20 74 68 61 74 20 79 |t string|s that y|
|000012b0| 6f 75 20 64 65 73 69 72 | 65 20 74 6f 20 74 65 73 |ou desir|e to tes|
|000012c0| 74 3f 0d 45 78 65 63 75 | 74 69 6f 6e 0d 53 63 72 |t?.Execu|tion.Scr|
|000012d0| 69 70 74 20 50 61 72 61 | 6d 65 74 65 72 73 0d 49 |ipt Para|meters.I|
|000012e0| 6e 20 61 64 64 69 74 69 | 6f 6e 20 74 6f 20 74 68 |n additi|on to th|
|000012f0| 65 20 54 65 73 74 4c 65 | 76 65 6c 20 70 61 72 61 |e TestLe|vel para|
|00001300| 6d 65 74 65 72 2c 20 77 | 68 69 63 68 20 69 73 20 |meter, w|hich is |
|00001310| 65 78 70 6c 61 69 6e 65 | 64 20 69 6e 20 74 68 65 |explaine|d in the|
|00001320| 20 48 69 74 63 68 48 69 | 6b 65 72 73 20 47 75 69 | HitchHi|kers Gui|
|00001330| 64 65 20 74 6f 20 53 50 | 45 43 20 53 26 4c 2c 20 |de to SP|EC S&L, |
|00001340| 41 70 70 65 6e 64 69 78 | 20 47 2c 20 65 61 63 68 |Appendix| G, each|
|00001350| 20 6c 6f 63 61 6c 69 7a | 65 64 2f 6c 6f 63 61 6c | localiz|ed/local|
|00001360| 69 7a 65 61 62 6c 65 20 | 73 63 72 69 70 74 20 61 |izeable |script a|
|00001370| 63 63 65 70 74 73 20 74 | 77 6f 20 70 61 72 61 6d |ccepts t|wo param|
|00001380| 65 74 65 72 73 20 77 68 | 69 63 68 20 63 6f 6e 74 |eters wh|ich cont|
|00001390| 72 6f 6c 20 69 74 73 20 | 6c 6f 63 61 6c 69 7a 61 |rol its |localiza|
|000013a0| 74 69 6f 6e 20 72 6f 75 | 74 69 6e 65 73 2c 20 61 |tion rou|tines, a|
|000013b0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 70 41 70 70 4c |s follow|s:.pAppL|
|000013c0| 61 6e 67 75 61 67 65 20 | 2d 20 74 68 65 20 6c 61 |anguage |- the la|
|000013d0| 6e 67 75 61 67 65 20 63 | 6f 64 65 20 6f 66 20 74 |nguage c|ode of t|
|000013e0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 75 |he appli|cation u|
|000013f0| 6e 64 65 72 20 74 65 73 | 74 20 28 64 65 66 61 75 |nder tes|t (defau|
|00001400| 6c 74 73 20 74 6f 20 74 | 68 65 20 63 6f 64 65 20 |lts to t|he code |
|00001410| 6f 66 20 74 68 65 20 70 | 72 69 6d 61 72 79 20 73 |of the p|rimary s|
|00001420| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 69 6e 73 |cript sy|stem ins|
|00001430| 74 61 6c 6c 65 64 20 6f | 6e 20 74 68 65 20 74 61 |talled o|n the ta|
|00001440| 72 67 65 74 29 0d 70 53 | 63 72 69 70 74 53 79 73 |rget).pS|criptSys|
|00001450| 74 65 6d 20 2d 20 61 20 | 74 68 72 65 65 20 65 6c |tem - a |three el|
|00001460| 65 6d 65 6e 74 20 6c 69 | 73 74 20 63 6f 6e 74 61 |ement li|st conta|
|00001470| 69 6e 69 6e 67 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ining th|e follow|
|00001480| 69 6e 67 3a 0d 20 09 31 | 2d 20 74 68 65 20 6c 61 |ing:. .1|- the la|
|00001490| 6e 67 75 61 67 65 20 63 | 6f 64 65 20 6f 66 20 74 |nguage c|ode of t|
|000014a0| 68 65 20 64 65 73 69 72 | 65 64 20 73 63 72 69 70 |he desir|ed scrip|
|000014b0| 74 20 73 79 73 74 65 6d | 2c 20 69 2e 65 2e 20 27 |t system|, i.e. '|
|000014c0| 4a 50 27 2e 20 20 44 65 | 66 61 75 6c 74 73 20 74 |JP'. De|faults t|
|000014d0| 6f 20 74 68 65 20 63 6f | 64 65 20 09 6f 66 20 74 |o the co|de .of t|
|000014e0| 68 65 20 70 72 69 6d 61 | 72 79 20 73 63 72 69 70 |he prima|ry scrip|
|000014f0| 74 20 73 79 73 74 65 6d | 20 69 6e 73 74 61 6c 6c |t system| install|
|00001500| 65 64 20 6f 6e 20 74 68 | 65 20 74 61 72 67 65 74 |ed on th|e target|
|00001510| 2e 0d 20 09 32 20 2d 20 | 61 20 62 6f 6f 6c 65 61 |.. .2 - |a boolea|
|00001520| 6e 20 66 6c 61 67 20 77 | 68 69 63 68 20 69 6e 64 |n flag w|hich ind|
|00001530| 69 63 61 74 65 73 20 77 | 68 65 74 68 65 72 20 6f |icates w|hether o|
|00001540| 72 20 6e 6f 74 20 74 68 | 65 20 64 65 73 69 72 65 |r not th|e desire|
|00001550| 64 20 73 63 72 69 70 74 | 20 73 79 73 74 65 6d 20 |d script| system |
|00001560| 68 61 73 20 09 62 65 65 | 6e 20 6c 6f 63 61 6c 69 |has .bee|n locali|
|00001570| 7a 65 64 20 28 30 20 2d | 20 6e 6f 74 20 6c 6f 63 |zed (0 -| not loc|
|00001580| 61 6c 69 7a 65 64 2c 20 | 31 20 2d 20 6c 6f 63 61 |alized, |1 - loca|
|00001590| 6c 69 7a 65 64 29 2e 20 | 20 44 65 66 61 75 6c 74 |lized). | Default|
|000015a0| 73 20 74 6f 20 30 2e 0d | 20 09 33 20 2d 20 74 68 |s to 0..| .3 - th|
|000015b0| 65 20 6c 61 6e 67 75 61 | 67 65 20 63 6f 64 65 20 |e langua|ge code |
|000015c0| 66 6f 72 20 66 6f 6e 74 | 73 20 61 6e 64 20 74 65 |for font|s and te|
|000015d0| 78 74 20 73 74 72 69 6e | 67 73 20 2c 20 69 2e 65 |xt strin|gs , i.e|
|000015e0| 2e 20 27 4a 50 27 2e 20 | 20 44 65 66 61 75 6c 74 |. 'JP'. | Default|
|000015f0| 73 20 74 6f 20 74 68 65 | 20 76 61 6c 75 65 20 6f |s to the| value o|
|00001600| 66 20 09 70 61 72 61 6d | 65 74 65 72 20 31 2c 20 |f .param|eter 1, |
|00001610| 74 68 65 20 6c 61 6e 67 | 75 61 67 65 20 63 6f 64 |the lang|uage cod|
|00001620| 65 2e 0d 54 68 75 73 2c | 20 61 20 6c 6f 63 61 6c |e..Thus,| a local|
|00001630| 69 7a 65 64 2f 6c 6f 63 | 61 6c 69 7a 65 61 62 6c |ized/loc|alizeabl|
|00001640| 65 20 73 63 72 69 70 74 | 20 77 69 74 68 20 70 61 |e script| with pa|
|00001650| 72 61 6d 65 74 65 72 73 | 20 70 41 70 70 4c 61 6e |rameters| pAppLan|
|00001660| 67 75 61 67 65 20 73 65 | 74 20 74 6f 20 27 4a 50 |guage se|t to 'JP|
|00001670| 27 20 61 6e 64 20 70 53 | 63 72 69 70 74 53 79 73 |' and pS|criptSys|
|00001680| 74 65 6d 20 73 65 74 20 | 74 6f 20 7b 27 48 42 27 |tem set |to {'HB'|
|00001690| 2c 31 2c 20 27 55 53 27 | 7d 20 77 6f 75 6c 64 20 |,1, 'US'|} would |
|000016a0| 72 75 6e 20 61 6e 20 61 | 70 70 6c 69 63 61 74 69 |run an a|pplicati|
|000016b0| 6f 6e 20 77 69 74 68 20 | 4a 61 70 61 6e 65 73 65 |on with |Japanese|
|000016c0| 20 6d 65 6e 75 73 20 6f | 6e 20 61 20 6c 6f 63 61 | menus o|n a loca|
|000016d0| 6c 69 7a 65 64 20 48 65 | 62 72 65 77 20 73 63 72 |lized He|brew scr|
|000016e0| 69 70 74 20 73 79 73 74 | 65 6d 20 75 73 69 6e 67 |ipt syst|em using|
|000016f0| 20 55 2e 53 2e 20 66 6f | 6e 74 73 20 61 6e 64 20 | U.S. fo|nts and |
|00001700| 74 65 78 74 20 73 74 72 | 69 6e 67 73 2e 0d 28 46 |text str|ings..(F|
|00001710| 6f 72 20 61 20 6c 69 73 | 74 69 6e 67 20 6f 66 20 |or a lis|ting of |
|00001720| 74 68 65 20 70 72 65 64 | 65 66 69 6e 65 64 20 6c |the pred|efined l|
|00001730| 61 6e 67 75 61 67 65 20 | 63 6f 64 65 73 2c 20 73 |anguage |codes, s|
|00001740| 65 65 20 22 4c 61 6e 67 | 75 61 67 65 20 49 64 65 |ee "Lang|uage Ide|
|00001750| 6e 74 69 66 69 65 72 73 | 22 20 69 6e 20 74 68 65 |ntifiers|" in the|
|00001760| 20 44 65 76 65 6c 6f 70 | 6d 65 6e 74 20 73 65 63 | Develop|ment sec|
|00001770| 74 69 6f 6e 29 0d 50 61 | 73 73 69 6e 67 20 53 63 |tion).Pa|ssing Sc|
|00001780| 72 69 70 74 20 50 61 72 | 61 6d 65 74 65 72 73 0d |ript Par|ameters.|
|00001790| 54 68 65 72 65 20 61 72 | 65 20 74 77 6f 20 6d 65 |There ar|e two me|
|000017a0| 74 68 6f 64 73 20 66 6f | 72 20 70 61 73 73 69 6e |thods fo|r passin|
|000017b0| 67 20 70 61 72 61 6d 65 | 74 65 72 73 20 69 6e 74 |g parame|ters int|
|000017c0| 6f 20 6c 6f 63 61 6c 69 | 7a 65 64 2f 6c 6f 63 61 |o locali|zed/loca|
|000017d0| 6c 69 7a 65 61 62 6c 65 | 20 73 63 72 69 70 74 73 |lizeable| scripts|
|000017e0| 3a 0d 31 29 20 57 69 74 | 68 69 6e 20 74 68 65 20 |:.1) Wit|hin the |
|000017f0| 56 69 72 74 75 61 6c 20 | 55 73 65 72 20 61 70 70 |Virtual |User app|
|00001800| 6c 69 63 61 74 69 6f 6e | 20 0d 54 68 69 73 20 6d |lication| .This m|
|00001810| 65 74 68 6f 64 20 69 73 | 20 6d 6f 73 74 20 65 66 |ethod is| most ef|
|00001820| 66 65 63 74 69 76 65 20 | 77 68 65 6e 20 72 75 6e |fective |when run|
|00001830| 6e 69 6e 67 20 73 69 6e | 67 6c 65 20 73 63 72 69 |ning sin|gle scri|
|00001840| 70 74 73 20 61 6e 64 20 | 73 69 6e 67 6c 65 20 6c |pts and |single l|
|00001850| 61 6e 67 75 61 67 65 73 | 2e 20 20 43 68 6f 6f 73 |anguages|. Choos|
|00001860| 65 20 74 68 65 20 64 65 | 73 69 72 65 64 20 73 63 |e the de|sired sc|
|00001870| 72 69 70 74 20 69 6e 20 | 74 68 65 20 56 69 72 74 |ript in |the Virt|
|00001880| 75 61 6c 20 55 73 65 72 | 20 64 6f 63 75 6d 65 6e |ual User| documen|
|00001890| 74 20 77 69 6e 64 6f 77 | 2c 20 61 6e 64 20 63 68 |t window|, and ch|
|000018a0| 6f 6f 73 65 20 22 53 65 | 74 20 53 63 72 69 70 74 |oose "Se|t Script|
|000018b0| 20 50 61 72 61 6d 65 74 | 65 72 73 2e 2e 2e 22 20 | Paramet|ers..." |
|000018c0| 66 72 6f 6d 20 74 68 65 | 20 22 53 65 74 75 70 22 |from the| "Setup"|
|000018d0| 20 6d 65 6e 75 2e 20 20 | 20 41 20 77 69 6e 64 6f | menu. | A windo|
|000018e0| 77 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 74 68 65 |w simila|r to the|
|000018f0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 77 69 6c 6c 20 | followi|ng will |
|00001900| 61 70 70 65 61 72 2e 0d | 45 6e 74 65 72 20 74 68 |appear..|Enter th|
|00001910| 65 20 64 65 73 69 72 65 | 64 20 70 41 70 70 4c 61 |e desire|d pAppLa|
|00001920| 6e 67 75 61 67 65 20 61 | 6e 64 20 70 53 63 72 69 |nguage a|nd pScri|
|00001930| 70 74 53 79 73 74 65 6d | 20 70 61 72 61 6d 65 74 |ptSystem| paramet|
|00001940| 65 72 73 2c 20 74 68 65 | 6e 20 65 78 65 63 75 74 |ers, the|n execut|
|00001950| 65 20 74 68 65 20 73 63 | 72 69 70 74 2e 20 20 46 |e the sc|ript. F|
|00001960| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00001970| 69 6f 6e 20 6f 6e 20 70 | 61 73 73 69 6e 67 20 70 |ion on p|assing p|
|00001980| 61 72 61 6d 65 74 65 72 | 73 20 74 6f 20 73 63 72 |arameter|s to scr|
|00001990| 69 70 74 73 20 61 6e 64 | 20 65 78 65 63 75 74 69 |ipts and| executi|
|000019a0| 6e 67 20 73 63 72 69 70 | 74 73 2c 20 73 65 65 20 |ng scrip|ts, see |
|000019b0| 53 65 74 74 69 6e 67 20 | 55 70 20 61 6e 64 20 52 |Setting |Up and R|
|000019c0| 75 6e 6e 69 6e 67 20 56 | 69 72 74 75 61 6c 20 55 |unning V|irtual U|
|000019d0| 73 65 72 2e 0d 32 29 20 | 56 69 61 20 61 20 63 6f |ser..2) |Via a co|
|000019e0| 6e 74 72 6f 6c 6c 65 72 | 20 73 63 72 69 70 74 0d |ntroller| script.|
|000019f0| 54 68 69 73 20 6d 65 74 | 68 6f 64 20 69 73 20 6d |This met|hod is m|
|00001a00| 6f 73 74 20 65 66 66 65 | 63 74 69 76 65 20 66 6f |ost effe|ctive fo|
|00001a10| 72 20 72 75 6e 6e 69 6e | 67 20 61 20 73 65 72 69 |r runnin|g a seri|
|00001a20| 65 73 20 6f 66 20 73 63 | 72 69 70 74 73 20 61 6e |es of sc|ripts an|
|00001a30| 64 20 6c 61 6e 67 75 61 | 67 65 73 2e 20 20 43 72 |d langua|ges. Cr|
|00001a40| 65 61 74 65 20 61 20 56 | 69 72 74 75 61 6c 20 55 |eate a V|irtual U|
|00001a50| 73 65 72 20 53 63 72 69 | 70 74 20 69 6e 20 74 68 |ser Scri|pt in th|
|00001a60| 65 20 73 61 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |e same d|irectory|
|00001a70| 20 61 73 20 74 68 65 20 | 6c 6f 63 61 6c 69 7a 65 | as the |localize|
|00001a80| 64 2f 6c 6f 63 61 6c 69 | 7a 65 61 62 6c 65 20 73 |d/locali|zeable s|
|00001a90| 63 72 69 70 74 73 20 74 | 68 61 74 20 79 6f 75 20 |cripts t|hat you |
|00001aa0| 77 69 73 68 20 74 6f 20 | 72 75 6e 2e 20 20 43 72 |wish to |run. Cr|
|00001ab0| 65 61 74 65 20 61 20 6c | 69 62 72 61 72 69 65 73 |eate a l|ibraries|
|00001ac0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 77 69 74 | declara|tion wit|
|00001ad0| 68 20 74 68 65 20 6e 61 | 6d 65 73 20 6f 66 20 61 |h the na|mes of a|
|00001ae0| 6c 6c 20 74 68 65 20 73 | 63 72 69 70 74 73 2e 20 |ll the s|cripts. |
|00001af0| 20 46 6f 72 20 65 61 63 | 68 20 73 63 72 69 70 74 | For eac|h script|
|00001b00| 20 61 6e 64 20 6c 61 6e | 67 75 61 67 65 20 63 6f | and lan|guage co|
|00001b10| 6d 62 69 6e 61 74 69 6f | 6e 20 79 6f 75 20 77 69 |mbinatio|n you wi|
|00001b20| 73 68 20 74 6f 20 72 75 | 6e 2c 20 63 61 6c 6c 20 |sh to ru|n, call |
|00001b30| 74 68 65 20 73 63 72 69 | 70 74 20 61 6e 64 20 70 |the scri|pt and p|
|00001b40| 61 73 73 20 74 68 65 20 | 64 65 73 69 72 65 64 20 |ass the |desired |
|00001b50| 70 61 72 61 6d 65 74 65 | 72 73 2c 20 61 73 20 69 |paramete|rs, as i|
|00001b60| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |n the fo|llowing |
|00001b70| 65 78 61 6d 70 6c 65 20 | 63 6f 6e 74 72 6f 6c 6c |example |controll|
|00001b80| 65 72 20 73 63 72 69 70 | 74 3a 0d 4c 69 62 72 61 |er scrip|t:.Libra|
|00001b90| 72 69 65 73 20 27 45 61 | 73 79 54 65 78 74 20 31 |ries 'Ea|syText 1|
|00001ba0| 2e 30 20 a3 a6 2e 76 75 | 27 2c 20 27 46 69 6c 65 |.0 ...vu|', 'File|
|00001bb0| 4d 61 6b 65 72 50 72 6f | 20 31 2e 30 20 a3 a6 2e |MakerPro| 1.0 ...|
|00001bc0| 76 75 27 3b 0d 23 20 64 | 65 63 6c 61 72 65 73 20 |vu';.# d|eclares |
|00001bd0| 74 68 65 20 73 63 72 69 | 70 74 73 20 27 45 61 73 |the scri|pts 'Eas|
|00001be0| 79 54 65 78 74 20 31 2e | 30 20 a3 a6 2e 76 75 27 |yText 1.|0 ...vu'|
|00001bf0| 2c 20 61 6e 64 20 27 46 | 69 6c 65 4d 61 6b 65 72 |, and 'F|ileMaker|
|00001c00| 50 72 6f 0d 23 20 31 2e | 30 20 a3 a6 2e 76 75 27 |Pro.# 1.|0 ...vu'|
|00001c10| 20 61 73 20 6c 69 62 72 | 61 72 69 65 73 0d 45 61 | as libr|aries.Ea|
|00001c20| 73 79 54 65 78 74 50 65 | 72 66 6f 72 6d 61 6e 63 |syTextPe|rformanc|
|00001c30| 65 28 2c 27 4a 50 27 2c | 20 7b 27 55 53 27 2c 30 |e(,'JP',| {'US',0|
|00001c40| 2c 20 27 55 53 27 7d 29 | 3b 0d 23 20 63 61 6c 6c |, 'US'})|;.# call|
|00001c50| 73 20 45 61 73 79 54 65 | 78 74 50 65 72 66 6f 72 |s EasyTe|xtPerfor|
|00001c60| 6d 61 6e 63 65 20 28 77 | 68 69 63 68 20 68 61 73 |mance (w|hich has|
|00001c70| 20 62 65 65 6e 20 64 65 | 63 6c 61 72 65 64 20 61 | been de|clared a|
|00001c80| 73 20 61 20 73 63 72 69 | 70 74 20 23 20 69 6e 20 |s a scri|pt # in |
|00001c90| 27 45 61 73 79 54 65 78 | 74 20 31 2e 30 20 a3 a6 |'EasyTex|t 1.0 ..|
|00001ca0| 2e 76 75 27 29 2c 20 61 | 6e 64 20 72 75 6e 73 20 |.vu'), a|nd runs |
|00001cb0| 4a 61 70 61 6e 65 73 65 | 20 45 61 73 79 54 65 78 |Japanese| EasyTex|
|00001cc0| 74 20 6f 6e 20 61 20 55 | 2e 53 2e 20 23 20 73 63 |t on a U|.S. # sc|
|00001cd0| 72 69 70 74 20 73 79 73 | 74 65 6d 2c 20 75 73 69 |ript sys|tem, usi|
|00001ce0| 6e 67 20 55 2e 53 2e 20 | 66 6f 6e 74 73 20 61 6e |ng U.S. |fonts an|
|00001cf0| 64 20 74 65 78 74 20 73 | 74 72 69 6e 67 73 0d 45 |d text s|trings.E|
|00001d00| 61 73 79 54 65 78 74 50 | 65 72 66 6f 72 6d 61 6e |asyTextP|erforman|
|00001d10| 63 65 28 2c 27 55 53 27 | 2c 20 7b 27 4a 50 27 2c |ce(,'US'|, {'JP',|
|00001d20| 31 2c 20 27 55 53 27 7d | 29 3b 0d 23 20 63 61 6c |1, 'US'}|);.# cal|
|00001d30| 6c 73 20 45 61 73 79 54 | 65 78 74 50 65 72 66 6f |ls EasyT|extPerfo|
|00001d40| 72 6d 61 6e 63 65 2c 20 | 61 6e 64 20 72 75 6e 73 |rmance, |and runs|
|00001d50| 20 55 2e 53 2e 20 45 61 | 73 79 54 65 78 74 20 6f | U.S. Ea|syText o|
|00001d60| 6e 20 61 0d 23 20 6c 6f | 63 61 6c 69 7a 65 64 20 |n a.# lo|calized |
|00001d70| 23 4a 61 70 61 6e 65 73 | 65 20 73 63 72 69 70 74 |#Japanes|e script|
|00001d80| 20 73 79 73 74 65 6d 2c | 20 75 73 69 6e 67 20 55 | system,| using U|
|00001d90| 2e 53 2e 20 66 6f 6e 74 | 73 20 61 6e 64 20 74 65 |.S. font|s and te|
|00001da0| 78 74 0d 23 20 73 74 72 | 69 6e 67 73 0d 46 69 6c |xt.# str|ings.Fil|
|00001db0| 65 4d 61 6b 65 72 50 72 | 6f 50 65 72 66 6f 72 6d |eMakerPr|oPerform|
|00001dc0| 61 6e 63 65 28 2c 27 55 | 53 27 2c 20 7b 27 53 43 |ance(,'U|S', {'SC|
|00001dd0| 27 2c 30 7d 29 3b 0d 23 | 20 63 61 6c 6c 73 20 46 |',0});.#| calls F|
|00001de0| 69 6c 65 4d 61 6b 65 72 | 50 72 6f 50 65 72 66 6f |ileMaker|ProPerfo|
|00001df0| 72 6d 61 6e 63 65 20 28 | 77 68 69 63 68 20 68 61 |rmance (|which ha|
|00001e00| 73 20 62 65 65 6e 20 64 | 65 63 6c 61 72 65 64 20 |s been d|eclared |
|00001e10| 61 73 20 61 0d 23 20 73 | 63 72 69 70 74 20 69 6e |as a.# s|cript in|
|00001e20| 20 27 46 69 6c 65 4d 61 | 6b 65 72 50 72 6f 20 31 | 'FileMa|kerPro 1|
|00001e30| 2e 30 20 a3 a6 2e 76 75 | 27 29 2c 20 61 6e 64 20 |.0 ...vu|'), and |
|00001e40| 72 75 6e 73 20 55 2e 53 | 2e 0d 23 20 46 69 6c 65 |runs U.S|..# File|
|00001e50| 6d 61 6b 65 72 50 72 6f | 2c 20 6f 6e 20 61 20 6e |makerPro|, on a n|
|00001e60| 6f 6e 20 6c 6f 63 61 6c | 69 7a 65 64 20 53 69 6d |on local|ized Sim|
|00001e70| 70 6c 69 66 69 65 64 20 | 43 68 69 6e 65 73 65 20 |plified |Chinese |
|00001e80| 73 63 72 69 70 74 0d 23 | 20 73 79 73 74 65 6d 2c |script.#| system,|
|00001e90| 20 75 73 69 6e 67 20 23 | 53 69 6d 70 6c 69 66 69 | using #|Simplifi|
|00001ea0| 65 64 20 43 68 69 6e 65 | 73 65 20 66 6f 6e 74 73 |ed Chine|se fonts|
|00001eb0| 20 61 6e 64 20 74 65 78 | 74 20 73 74 72 69 6e 67 | and tex|t string|
|00001ec0| 73 0d 46 69 6c 65 4d 61 | 6b 65 72 50 72 6f 50 65 |s.FileMa|kerProPe|
|00001ed0| 72 66 6f 72 6d 61 6e 63 | 65 28 2c 27 55 53 27 2c |rformanc|e(,'US',|
|00001ee0| 20 7b 27 4a 50 27 2c 30 | 2c 20 27 55 53 27 7d 29 | {'JP',0|, 'US'})|
|00001ef0| 3b 0d 23 20 63 61 6c 6c | 73 20 46 69 6c 65 4d 61 |;.# call|s FileMa|
|00001f00| 6b 65 72 50 72 6f 50 65 | 72 66 6f 72 6d 61 6e 63 |kerProPe|rformanc|
|00001f10| 65 2c 20 61 6e 64 20 72 | 75 6e 73 20 55 2e 53 2e |e, and r|uns U.S.|
|00001f20| 20 46 69 6c 65 6d 61 6b | 65 72 50 72 6f 2c 20 6f | Filemak|erPro, o|
|00001f30| 6e 20 61 20 23 20 6e 6f | 6e 20 6c 6f 63 61 6c 69 |n a # no|n locali|
|00001f40| 7a 65 64 20 4a 61 70 61 | 6e 65 73 65 20 73 63 72 |zed Japa|nese scr|
|00001f50| 69 70 74 20 73 79 73 74 | 65 6d 2c 20 75 73 69 6e |ipt syst|em, usin|
|00001f60| 67 20 55 2e 53 2e 20 66 | 6f 6e 74 73 20 61 6e 64 |g U.S. f|onts and|
|00001f70| 20 74 65 78 74 20 23 20 | 73 74 72 69 6e 67 73 0d | text # |strings.|
|00001f80| 4e 6f 74 65 73 3a 0d 41 | 6c 74 68 6f 75 67 68 20 |Notes:.A|lthough |
|00001f90| 74 68 65 20 6c 6f 63 61 | 6c 69 7a 65 64 2f 6c 6f |the loca|lized/lo|
|00001fa0| 63 61 6c 69 7a 65 61 62 | 6c 65 20 73 63 72 69 70 |calizeab|le scrip|
|00001fb0| 74 73 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 53 |ts inclu|ded in S|
|00001fc0| 50 45 43 20 53 26 4c 20 | 61 6c 6c 6f 77 20 61 20 |PEC S&L |allow a |
|00001fd0| 75 73 65 72 20 74 6f 20 | 70 61 73 73 20 69 6e 20 |user to |pass in |
|00001fe0| 70 61 72 61 6d 65 74 65 | 72 73 20 66 6f 72 20 61 |paramete|rs for a|
|00001ff0| 6e 79 20 63 6f 6d 62 69 | 6e 61 74 69 6f 6e 20 6f |ny combi|nation o|
|00002000| 66 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 6c 61 |f applic|ation la|
|00002010| 6e 67 75 61 67 65 2c 20 | 73 63 72 69 70 74 20 73 |nguage, |script s|
|00002020| 79 73 74 65 6d 20 61 6e | 64 20 66 6f 6e 74 20 61 |ystem an|d font a|
|00002030| 6e 64 20 74 65 78 74 20 | 6c 61 6e 67 75 61 67 65 |nd text |language|
|00002040| 2c 20 6e 6f 74 20 61 6c | 6c 20 63 6f 6d 62 69 6e |, not al|l combin|
|00002050| 61 74 69 6f 6e 73 20 61 | 72 65 20 73 75 70 70 6f |ations a|re suppo|
|00002060| 72 74 65 64 20 62 79 20 | 69 6e 74 65 72 6e 61 74 |rted by |internat|
|00002070| 69 6f 6e 61 6c 20 73 79 | 73 74 65 6d 20 73 6f 66 |ional sy|stem sof|
|00002080| 74 77 61 72 65 2e 20 20 | 46 6f 72 20 65 78 61 6d |tware. |For exam|
|00002090| 70 6c 65 2c 20 61 20 6c | 6f 63 61 6c 69 7a 65 64 |ple, a l|ocalized|
|000020a0| 20 48 65 62 72 65 77 20 | 61 70 70 6c 69 63 61 74 | Hebrew |applicat|
|000020b0| 69 6f 6e 20 63 61 6e 6e | 6f 74 20 62 65 20 72 75 |ion cann|ot be ru|
|000020c0| 6e 20 6f 6e 20 61 20 4a | 61 70 61 6e 65 73 65 20 |n on a J|apanese |
|000020d0| 73 79 73 74 65 6d 2e 20 | 20 49 74 20 69 73 20 62 |system. | It is b|
|000020e0| 65 79 6f 6e 64 20 74 68 | 65 20 73 63 6f 70 65 20 |eyond th|e scope |
|000020f0| 6f 66 20 74 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |of this |document|
|00002100| 20 74 6f 20 6c 69 73 74 | 20 65 76 65 72 79 20 75 | to list| every u|
|00002110| 6e 73 75 70 70 6f 72 74 | 65 64 20 63 6f 6d 62 69 |nsupport|ed combi|
|00002120| 6e 61 74 69 6f 6e 2e 20 | 20 54 68 65 20 75 73 65 |nation. | The use|
|00002130| 72 20 73 68 6f 75 6c 64 | 20 68 61 76 65 20 65 6e |r should| have en|
|00002140| 6f 75 67 68 20 66 61 6d | 69 6c 69 61 72 69 74 79 |ough fam|iliarity|
|00002150| 20 77 69 74 68 20 69 6e | 74 65 72 6e 61 74 69 6f | with in|ternatio|
|00002160| 6e 61 6c 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |nal appl|ications|
|00002170| 20 61 6e 64 20 73 79 73 | 74 65 6d 20 73 6f 66 74 | and sys|tem soft|
|00002180| 77 61 72 65 20 74 6f 20 | 62 65 20 61 77 61 72 65 |ware to |be aware|
|00002190| 20 6f 66 20 74 68 65 73 | 65 20 6b 69 6e 64 73 20 | of thes|e kinds |
|000021a0| 6f 66 20 63 6f 6d 62 69 | 6e 61 74 69 6f 6e 73 20 |of combi|nations |
|000021b0| 61 6e 64 20 6e 6f 74 20 | 61 74 74 65 6d 70 74 20 |and not |attempt |
|000021c0| 74 68 65 6d 2e 0d 46 6f | 72 20 6d 6f 72 65 20 69 |them..Fo|r more i|
|000021d0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 73 63 |nformati|on on sc|
|000021e0| 72 69 70 74 20 70 61 72 | 61 6d 65 74 65 72 73 2c |ript par|ameters,|
|000021f0| 20 70 6c 65 61 73 65 20 | 73 65 65 20 56 69 72 74 | please |see Virt|
|00002200| 75 61 6c 20 55 73 65 72 | 20 4c 61 6e 67 75 61 67 |ual User| Languag|
|00002210| 65 20 52 65 66 65 72 65 | 6e 63 65 2c 20 61 76 61 |e Refere|nce, ava|
|00002220| 69 6c 61 62 6c 65 20 74 | 6f 20 41 70 70 6c 65 20 |ilable t|o Apple |
|00002230| 65 6d 70 6c 6f 79 65 65 | 73 20 76 69 61 20 45 6e |employee|s via En|
|00002240| 67 69 6e 65 65 72 69 6e | 67 20 53 75 70 70 6f 72 |gineerin|g Suppor|
|00002250| 74 2c 20 6f 72 20 74 6f | 20 33 72 64 20 70 61 72 |t, or to| 3rd par|
|00002260| 74 79 20 64 65 76 65 6c | 6f 70 65 72 73 20 76 69 |ty devel|opers vi|
|00002270| 61 20 45 2e 54 2e 4f 2e | 20 6f 72 20 41 50 44 41 |a E.T.O.| or APDA|
|00002280| 2e 0d 44 65 76 65 6c 6f | 70 6d 65 6e 74 0d 47 65 |..Develo|pment.Ge|
|00002290| 6e 65 72 61 6c 20 54 69 | 70 73 20 61 6e 64 20 48 |neral Ti|ps and H|
|000022a0| 69 6e 74 73 0d 54 68 69 | 73 20 73 65 63 74 69 6f |ints.Thi|s sectio|
|000022b0| 6e 20 70 72 6f 76 69 64 | 65 73 20 73 6f 6d 65 20 |n provid|es some |
|000022c0| 67 65 6e 65 72 61 6c 20 | 67 75 69 64 65 6c 69 6e |general |guidelin|
|000022d0| 65 73 20 66 6f 72 20 64 | 65 76 65 6c 6f 70 69 6e |es for d|evelopin|
|000022e0| 67 20 6c 6f 63 61 6c 69 | 7a 65 64 2f 6c 6f 63 61 |g locali|zed/loca|
|000022f0| 6c 69 7a 65 61 62 6c 65 | 20 73 63 72 69 70 74 73 |lizeable| scripts|
|00002300| 2e 0d 52 65 73 6f 75 72 | 63 65 73 0d 48 61 72 64 |..Resour|ces.Hard|
|00002310| 63 6f 64 65 64 20 73 74 | 72 69 6e 67 73 20 69 6e |coded st|rings in|
|00002320| 20 6c 6f 63 61 6c 69 7a | 65 64 2f 6c 6f 63 61 6c | localiz|ed/local|
|00002330| 69 7a 65 61 62 6c 65 20 | 73 63 72 69 70 74 73 20 |izeable |scripts |
|00002340| 73 68 6f 75 6c 64 20 62 | 65 20 61 76 6f 69 64 65 |should b|e avoide|
|00002350| 64 20 77 68 65 6e 20 70 | 6f 73 73 69 62 6c 65 2e |d when p|ossible.|
|00002360| 20 20 20 53 74 72 69 6e | 67 73 20 63 61 6e 20 62 | Strin|gs can b|
|00002370| 65 20 70 6c 61 63 65 64 | 20 69 6e 20 27 53 54 52 |e placed| in 'STR|
|00002380| 20 27 20 6f 72 20 27 53 | 54 52 23 27 20 72 65 73 | ' or 'S|TR#' res|
|00002390| 6f 75 72 63 65 73 20 61 | 6e 64 20 61 63 63 65 73 |ources a|nd acces|
|000023a0| 73 65 64 20 75 73 69 6e | 67 20 74 68 65 20 47 65 |sed usin|g the Ge|
|000023b0| 74 49 6e 64 53 74 72 69 | 6e 67 28 29 20 61 6e 64 |tIndStri|ng() and|
|000023c0| 2f 6f 72 20 47 65 74 53 | 74 72 69 6e 67 28 29 20 |/or GetS|tring() |
|000023d0| 63 61 6c 6c 73 20 70 72 | 6f 76 69 64 65 64 20 62 |calls pr|ovided b|
|000023e0| 79 20 56 69 72 74 75 61 | 6c 20 55 73 65 72 20 28 |y Virtua|l User (|
|000023f0| 73 65 65 20 74 68 65 20 | 56 69 72 74 75 61 6c 20 |see the |Virtual |
|00002400| 55 73 65 72 20 4c 61 6e | 67 75 61 67 65 20 52 65 |User Lan|guage Re|
|00002410| 66 65 72 65 6e 63 65 20 | 20 66 6f 72 20 64 65 74 |ference | for det|
|00002420| 61 69 6c 73 29 2e 0d 4f | 72 64 69 6e 61 6c 69 74 |ails)..O|rdinalit|
|00002430| 79 0d 56 69 72 74 75 61 | 6c 20 55 73 65 72 20 64 |y.Virtua|l User d|
|00002440| 65 73 63 72 69 70 74 6f | 72 73 20 70 72 6f 76 69 |escripto|rs provi|
|00002450| 64 65 20 61 6e 20 6f 72 | 64 69 6e 61 6c 20 72 61 |de an or|dinal ra|
|00002460| 6e 6b 20 6f 66 20 6d 6f | 73 74 20 75 73 65 72 20 |nk of mo|st user |
|00002470| 69 6e 74 65 72 66 61 63 | 65 20 65 6c 65 6d 65 6e |interfac|e elemen|
|00002480| 74 73 2e 20 20 41 20 73 | 63 72 69 70 74 20 77 72 |ts. A s|cript wr|
|00002490| 69 74 65 72 20 63 61 6e | 20 61 76 6f 69 64 20 74 |iter can| avoid t|
|000024a0| 68 65 20 75 73 65 20 6f | 66 20 68 61 72 64 63 6f |he use o|f hardco|
|000024b0| 64 65 64 2c 20 6c 61 6e | 67 75 61 67 65 2d 73 70 |ded, lan|guage-sp|
|000024c0| 65 63 69 66 69 63 20 74 | 65 78 74 20 73 74 72 69 |ecific t|ext stri|
|000024d0| 6e 67 73 20 62 79 20 75 | 73 69 6e 67 20 6f 72 64 |ngs by u|sing ord|
|000024e0| 69 6e 61 6c 69 74 79 20 | 6f 6e 6c 79 2e 20 20 46 |inality |only. F|
|000024f0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 6f 20 73 |or examp|le, to s|
|00002500| 65 6c 65 63 74 20 74 68 | 65 20 6d 65 6e 75 20 69 |elect th|e menu i|
|00002510| 74 65 6d 20 22 4e 65 77 | 22 20 66 72 6f 6d 20 74 |tem "New|" from t|
|00002520| 68 65 20 22 46 69 6c 65 | 22 20 6d 65 6e 75 20 69 |he "File|" menu i|
|00002530| 6e 20 74 68 65 20 55 2e | 53 2e 20 73 63 72 69 70 |n the U.|S. scrip|
|00002540| 74 20 73 79 73 74 65 6d | 2c 20 74 68 65 20 66 6f |t system|, the fo|
|00002550| 6c 6c 6f 77 69 6e 67 56 | 55 20 63 6f 6d 6d 61 6e |llowingV|U comman|
|00002560| 64 3a 0d 3c 31 3e 20 20 | 73 65 6c 65 63 74 20 5b |d:.<1> |select [|
|00002570| 6d 65 6e 75 69 74 65 6d | 20 6f 3a 32 20 6d 3a 5b |menuitem| o:2 m:[|
|00002580| 6d 65 6e 75 20 6f 3a 32 | 5d 5d 3b 0d 69 73 20 65 |menu o:2|]];.is e|
|00002590| 71 75 69 76 65 6c 61 6e | 74 20 74 6f 3a 0d 3c 32 |quivelan|t to:.<2|
|000025a0| 3e 20 20 73 65 6c 65 63 | 74 20 5b 6d 65 6e 75 69 |> selec|t [menui|
|000025b0| 74 65 6d 20 74 3a 27 4e | 65 77 27 20 6d 3a 5b 6d |tem t:'N|ew' m:[m|
|000025c0| 65 6e 75 20 74 3a 27 46 | 69 6c 65 27 5d 5d 3b 0d |enu t:'F|ile']];.|
|000025d0| 68 6f 77 65 76 65 72 2c | 20 74 68 65 20 66 69 72 |however,| the fir|
|000025e0| 73 74 20 65 78 61 6d 70 | 6c 65 20 77 69 6c 6c 20 |st examp|le will |
|000025f0| 77 6f 72 6b 20 6f 6e 20 | 6e 6f 6e 2d 55 2e 53 2e |work on |non-U.S.|
|00002600| 20 73 63 72 69 70 74 20 | 73 79 73 74 65 6d 73 20 | script |systems |
|00002610| 28 61 73 73 75 6d 69 6e | 67 20 74 68 61 74 20 74 |(assumin|g that t|
|00002620| 68 65 20 6f 72 64 69 6e | 61 6c 69 74 69 65 73 20 |he ordin|alities |
|00002630| 6f 66 20 6d 65 6e 75 20 | 69 74 65 6d 73 20 61 72 |of menu |items ar|
|00002640| 65 20 63 6f 6e 73 74 61 | 6e 74 29 2c 20 77 68 69 |e consta|nt), whi|
|00002650| 6c 65 20 74 68 65 20 73 | 65 63 6f 6e 64 20 65 78 |le the s|econd ex|
|00002660| 61 6d 70 6c 65 20 77 69 | 6c 6c 20 6f 6e 6c 79 20 |ample wi|ll only |
|00002670| 77 6f 72 6b 20 6f 6e 20 | 61 20 55 2e 53 2e 20 73 |work on |a U.S. s|
|00002680| 63 72 69 70 74 20 73 79 | 73 74 65 6d 2e 0d 53 50 |cript sy|stem..SP|
|00002690| 45 43 20 53 26 4c 20 70 | 72 6f 76 69 64 65 73 20 |EC S&L p|rovides |
|000026a0| 73 65 76 65 72 61 6c 20 | 74 61 73 6b 73 20 77 68 |several |tasks wh|
|000026b0| 69 63 68 20 70 61 72 61 | 6c 6c 65 6c 20 56 2e 55 |ich para|llel V.U|
|000026c0| 2e 20 70 72 69 6d 61 74 | 69 76 65 20 63 6f 6d 6d |. primat|ive comm|
|000026d0| 61 6e 64 73 2e 20 54 68 | 65 73 65 20 74 61 73 6b |ands. Th|ese task|
|000026e0| 73 20 68 61 76 65 20 69 | 6e 70 75 74 20 70 61 72 |s have i|nput par|
|000026f0| 61 6d 65 74 65 72 73 20 | 77 68 69 63 68 20 63 61 |ameters |which ca|
|00002700| 6e 20 62 65 20 65 69 74 | 68 65 72 20 61 6e 20 69 |n be eit|her an i|
|00002710| 6e 74 65 67 65 72 20 28 | 73 70 65 63 69 66 79 69 |nteger (|specifyi|
|00002720| 6e 67 20 6f 72 64 69 6e | 61 6c 69 74 79 29 20 6f |ng ordin|ality) o|
|00002730| 72 20 73 74 72 69 6e 67 | 73 20 28 73 70 65 63 69 |r string|s (speci|
|00002740| 66 79 69 6e 67 20 74 69 | 74 6c 65 29 2e 20 54 68 |fying ti|tle). Th|
|00002750| 65 73 65 20 74 61 73 6b | 73 20 69 6e 63 6c 75 64 |ese task|s includ|
|00002760| 65 3a 20 53 65 6c 65 63 | 74 4d 65 6e 75 49 74 65 |e: Selec|tMenuIte|
|00002770| 6d 28 29 2c 20 53 65 6c | 65 63 74 42 75 74 74 6f |m(), Sel|ectButto|
|00002780| 6e 28 29 2c 20 53 65 6c | 65 63 74 43 68 65 63 6b |n(), Sel|ectCheck|
|00002790| 42 6f 78 28 29 2c 20 53 | 65 6c 65 63 74 52 61 64 |Box(), S|electRad|
|000027a0| 69 6f 42 75 74 74 6f 6e | 28 29 20 61 6e 64 20 61 |ioButton|() and a|
|000027b0| 6c 6c 20 6f 66 20 74 68 | 65 20 74 61 73 6b 73 20 |ll of th|e tasks |
|000027c0| 74 68 61 74 20 70 65 72 | 66 6f 72 6d 20 6f 70 65 |that per|form ope|
|000027d0| 72 61 74 69 6f 6e 73 20 | 64 65 61 6c 69 6e 67 20 |rations |dealing |
|000027e0| 77 69 74 68 20 77 69 6e | 64 6f 77 73 2e 0d 54 68 |with win|dows..Th|
|000027f0| 65 73 65 20 74 61 73 6b | 73 20 77 6f 72 6b 20 62 |ese task|s work b|
|00002800| 61 73 69 63 61 6c 6c 79 | 20 74 68 65 20 73 61 6d |asically| the sam|
|00002810| 65 20 77 61 79 3b 20 74 | 68 65 79 20 61 63 63 65 |e way; t|hey acce|
|00002820| 70 74 20 65 69 74 68 65 | 72 20 73 74 72 69 6e 67 |pt eithe|r string|
|00002830| 73 20 6f 72 20 69 6e 74 | 65 67 65 72 20 76 61 6c |s or int|eger val|
|00002840| 75 65 73 20 28 77 68 69 | 63 68 20 73 70 65 63 69 |ues (whi|ch speci|
|00002850| 66 79 20 6f 72 64 69 6e | 61 6c 69 74 79 29 2e 20 |fy ordin|ality). |
|00002860| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 65 | The fol|lowing e|
|00002870| 78 61 6d 70 6c 65 20 73 | 68 6f 77 73 20 68 6f 77 |xample s|hows how|
|00002880| 20 74 6f 20 61 6c 74 65 | 72 20 74 68 65 20 63 61 | to alte|r the ca|
|00002890| 6c 6c 73 20 79 6f 75 20 | 6d 61 6b 65 20 28 74 6f |lls you |make (to|
|000028a0| 20 74 68 65 20 74 61 73 | 6b 73 20 6d 65 6e 74 69 | the tas|ks menti|
|000028b0| 6f 6e 65 64 20 61 62 6f | 76 65 29 20 74 6f 20 61 |oned abo|ve) to a|
|000028c0| 76 6f 69 64 20 74 68 65 | 20 75 73 65 20 6f 66 20 |void the| use of |
|000028d0| 73 74 72 69 6e 67 73 2e | 20 0d 53 65 6c 65 63 74 |strings.| .Select|
|000028e0| 4d 65 6e 75 49 74 65 6d | 28 29 20 2d 20 20 61 63 |MenuItem|() - ac|
|000028f0| 63 65 70 74 73 20 62 6f | 74 68 20 73 74 72 69 6e |cepts bo|th strin|
|00002900| 67 73 20 61 6e 64 20 6f | 72 64 69 6e 61 6c 69 74 |gs and o|rdinalit|
|00002910| 79 2e 20 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |y. The |followin|
|00002920| 67 20 63 61 6c 6c 73 20 | 61 72 65 20 76 61 6c 69 |g calls |are vali|
|00002930| 64 20 28 61 6e 64 20 65 | 71 75 61 6c 20 66 6f 72 |d (and e|qual for|
|00002940| 20 6d 6f 73 74 20 55 2e | 53 2e 20 61 70 70 6c 69 | most U.|S. appli|
|00002950| 63 61 74 69 6f 6e 73 29 | 3a 0d 53 65 6c 65 63 74 |cations)|:.Select|
|00002960| 4d 65 6e 75 49 74 65 6d | 28 22 4e 65 77 22 2c 20 |MenuItem|("New", |
|00002970| 22 46 69 6c 65 22 29 3b | 0d 53 65 6c 65 63 74 4d |"File");|.SelectM|
|00002980| 65 6e 75 49 74 65 6d 28 | 32 2c 20 32 29 3b 0d 09 |enuItem(|2, 2);..|
|00002990| 48 69 65 72 61 72 63 68 | 69 63 61 6c 20 6d 65 6e |Hierarch|ical men|
|000029a0| 75 73 20 61 72 65 20 61 | 6c 73 6f 20 73 75 70 70 |us are a|lso supp|
|000029b0| 6f 72 74 65 64 3a 0d 53 | 65 6c 65 63 74 4d 65 6e |orted:.S|electMen|
|000029c0| 75 49 74 65 6d 28 22 48 | 65 6c 76 65 74 69 63 61 |uItem("H|elvetica|
|000029d0| 22 2c 20 22 46 6f 6e 74 | 73 22 2c 20 22 46 6f 72 |", "Font|s", "For|
|000029e0| 6d 61 74 22 29 3b 0d 53 | 65 6c 65 63 74 4d 65 6e |mat");.S|electMen|
|000029f0| 75 49 74 65 6d 28 20 35 | 2c 20 32 2c 20 34 29 3b |uItem( 5|, 2, 4);|
|00002a00| 0d 53 50 45 43 20 53 26 | 4c 20 62 61 73 65 64 20 |.SPEC S&|L based |
|00002a10| 4c 6f 63 61 6c 69 7a 65 | 64 2f 4c 6f 63 61 6c 69 |Localize|d/Locali|
|00002a20| 7a 65 61 62 6c 65 20 53 | 63 72 69 70 74 73 0d 54 |zeable S|cripts.T|
|00002a30| 68 69 73 20 73 65 63 74 | 69 6f 6e 20 77 69 6c 6c |his sect|ion will|
|00002a40| 20 64 65 73 63 72 69 62 | 65 20 68 6f 77 20 74 6f | describ|e how to|
|00002a50| 20 77 72 69 74 65 20 6c | 6f 63 61 6c 69 7a 65 64 | write l|ocalized|
|00002a60| 2f 6c 6f 63 61 6c 69 7a | 61 62 6c 65 20 73 63 72 |/localiz|able scr|
|00002a70| 69 70 74 73 20 75 73 69 | 6e 67 20 53 50 45 43 20 |ipts usi|ng SPEC |
|00002a80| 53 26 4c 2e 20 20 41 20 | 73 69 6e 67 6c 65 20 6c |S&L. A |single l|
|00002a90| 6f 63 61 6c 69 7a 65 64 | 2f 6c 6f 63 61 6c 69 7a |ocalized|/localiz|
|00002aa0| 61 62 6c 65 20 73 63 72 | 69 70 74 20 63 61 6e 20 |able scr|ipt can |
|00002ab0| 62 65 20 75 73 65 64 20 | 74 6f 20 74 65 73 74 20 |be used |to test |
|00002ac0| 64 69 66 66 65 72 65 6e | 74 20 6c 6f 63 61 6c 69 |differen|t locali|
|00002ad0| 7a 65 64 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |zed vers|ions of |
|00002ae0| 74 68 65 20 73 61 6d 65 | 20 61 70 70 6c 69 63 61 |the same| applica|
|00002af0| 74 69 6f 6e 2c 20 70 72 | 6f 76 69 64 65 64 20 74 |tion, pr|ovided t|
|00002b00| 68 61 74 20 69 74 20 69 | 73 20 74 68 65 20 73 61 |hat it i|s the sa|
|00002b10| 6d 65 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |me versi|on of th|
|00002b20| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0d 4f |e applic|ation..O|
|00002b30| 76 65 72 76 69 65 77 0d | 41 73 20 6d 65 6e 74 69 |verview.|As menti|
|00002b40| 6f 6e 65 64 20 65 61 72 | 6c 69 65 72 2c 20 74 6f |oned ear|lier, to|
|00002b50| 20 61 76 6f 69 64 20 74 | 68 65 20 75 73 65 20 6f | avoid t|he use o|
|00002b60| 66 20 68 61 72 64 2d 63 | 6f 64 65 64 20 73 74 72 |f hard-c|oded str|
|00002b70| 69 6e 67 73 20 74 77 6f | 20 6d 65 74 68 6f 64 73 |ings two| methods|
|00002b80| 20 68 61 76 65 20 62 65 | 65 6e 20 69 6e 63 6f 72 | have be|en incor|
|00002b90| 70 6f 72 61 74 65 64 20 | 2d 20 74 68 65 20 75 73 |porated |- the us|
|00002ba0| 65 20 6f 66 20 72 65 73 | 6f 75 72 63 65 73 20 61 |e of res|ources a|
|00002bb0| 6e 64 20 74 68 65 20 75 | 73 65 20 6f 66 20 6f 72 |nd the u|se of or|
|00002bc0| 64 69 6e 61 6c 69 74 79 | 2e 20 20 20 44 65 66 69 |dinality|. Defi|
|00002bd0| 6e 69 6e 67 20 75 73 65 | 72 20 69 6e 74 65 72 66 |ning use|r interf|
|00002be0| 61 63 65 20 65 6c 65 6d | 65 6e 74 73 20 69 6e 20 |ace elem|ents in |
|00002bf0| 74 65 72 6d 73 20 6f 66 | 20 74 68 65 69 72 20 6f |terms of| their o|
|00002c00| 72 64 69 6e 61 6c 69 74 | 79 20 69 73 20 74 68 65 |rdinalit|y is the|
|00002c10| 20 62 65 73 74 20 6d 65 | 63 68 61 6e 69 73 6d 2c | best me|chanism,|
|00002c20| 20 73 69 6e 63 65 20 6f | 72 64 69 6e 61 6c 69 74 | since o|rdinalit|
|00002c30| 79 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 75 6e |y can be| used un|
|00002c40| 64 65 72 20 61 6e 79 20 | 6c 61 6e 67 75 61 67 65 |der any |language|
|00002c50| 20 73 79 73 74 65 6d 20 | 61 6e 64 20 64 6f 65 73 | system |and does|
|00002c60| 20 6e 6f 74 20 72 65 71 | 75 69 72 65 20 61 20 73 | not req|uire a s|
|00002c70| 65 70 65 72 61 74 65 20 | 64 65 66 69 6e 69 74 69 |eperate |definiti|
|00002c80| 6f 6e 20 66 6f 72 20 65 | 61 63 68 20 6c 61 6e 67 |on for e|ach lang|
|00002c90| 75 61 67 65 2e 20 20 53 | 74 72 69 6e 67 20 72 65 |uage. S|tring re|
|00002ca0| 73 6f 75 72 63 65 73 20 | 61 72 65 20 75 73 65 64 |sources |are used|
|00002cb0| 20 77 68 65 6e 20 69 74 | 20 69 73 20 6e 6f 74 20 | when it| is not |
|00002cc0| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 61 76 6f 69 |possible| to avoi|
|00002cd0| 64 20 74 68 65 20 75 73 | 65 20 6f 66 20 61 20 73 |d the us|e of a s|
|00002ce0| 74 72 69 6e 67 2e 20 20 | 54 68 65 20 6d 61 69 6e |tring. |The main|
|00002cf0| 20 64 69 73 61 64 76 61 | 6e 74 61 67 65 20 77 68 | disadva|ntage wh|
|00002d00| 65 6e 20 75 73 69 6e 67 | 20 73 74 72 69 6e 67 20 |en using| string |
|00002d10| 72 65 73 6f 75 72 63 65 | 73 20 69 73 20 74 68 61 |resource|s is tha|
|00002d20| 74 20 61 20 73 65 70 65 | 72 61 74 65 20 64 65 66 |t a sepe|rate def|
|00002d30| 69 6e 69 74 69 6f 6e 20 | 66 6f 72 20 65 61 63 68 |inition |for each|
|00002d40| 20 73 74 72 69 6e 67 20 | 6d 75 73 74 20 65 78 69 | string |must exi|
|00002d50| 73 74 20 66 6f 72 20 65 | 61 63 68 20 6c 61 6e 67 |st for e|ach lang|
|00002d60| 75 61 67 65 20 73 79 73 | 74 65 6d 20 74 6f 20 62 |uage sys|tem to b|
|00002d70| 65 20 74 65 73 74 65 64 | 2e 20 20 0d 4c 61 6e 67 |e tested|. .Lang|
|00002d80| 75 61 67 65 20 49 64 65 | 6e 74 69 66 69 65 72 73 |uage Ide|ntifiers|
|00002d90| 0d 54 6f 20 61 76 6f 69 | 64 20 63 6f 6e 66 75 73 |.To avoi|d confus|
|00002da0| 69 6f 6e 20 61 6e 64 20 | 69 6e 63 6f 6e 73 69 73 |ion and |inconsis|
|00002db0| 74 65 6e 63 79 20 77 68 | 65 6e 20 64 65 66 69 6e |tency wh|en defin|
|00002dc0| 69 6e 67 20 6f 72 20 72 | 65 66 65 72 72 69 6e 67 |ing or r|eferring|
|00002dd0| 20 74 6f 20 64 69 66 66 | 65 72 65 6e 74 20 6c 61 | to diff|erent la|
|00002de0| 6e 67 75 61 67 65 20 73 | 79 73 74 65 6d 73 2c 20 |nguage s|ystems, |
|00002df0| 77 65 20 68 61 76 65 20 | 64 65 66 69 6e 65 64 20 |we have |defined |
|00002e00| 61 20 73 65 74 20 6f 66 | 20 27 4c 61 6e 67 75 61 |a set of| 'Langua|
|00002e10| 67 65 20 49 64 65 6e 74 | 69 66 65 72 73 27 2e 20 |ge Ident|ifers'. |
|00002e20| 20 54 68 65 73 65 20 69 | 64 65 6e 74 69 66 69 65 | These i|dentifie|
|00002e30| 72 73 20 61 72 65 20 74 | 77 6f 20 6c 65 74 74 65 |rs are t|wo lette|
|00002e40| 72 20 61 62 72 65 76 69 | 61 74 69 6f 6e 73 20 66 |r abrevi|ations f|
|00002e50| 6f 72 20 61 20 67 69 76 | 65 6e 20 6c 61 6e 67 75 |or a giv|en langu|
|00002e60| 61 67 65 2e 20 20 41 6c | 6c 20 6f 66 20 74 68 65 |age. Al|l of the|
|00002e70| 20 6c 69 62 72 61 72 69 | 65 73 20 61 6e 64 20 73 | librari|es and s|
|00002e80| 63 72 69 70 74 73 20 75 | 73 65 20 74 68 65 73 65 |cripts u|se these|
|00002e90| 20 69 64 65 6e 74 69 66 | 69 65 72 73 20 77 68 65 | identif|iers whe|
|00002ea0| 6e 20 72 65 66 65 72 72 | 69 6e 67 20 74 6f 20 61 |n referr|ing to a|
|00002eb0| 20 73 70 65 63 69 66 69 | 63 20 6c 61 6e 67 75 61 | specifi|c langua|
|00002ec0| 67 65 2e 20 20 54 68 65 | 20 63 75 72 72 65 6e 74 |ge. The| current|
|00002ed0| 6c 79 20 64 65 66 69 6e | 65 64 20 73 65 74 20 6f |ly defin|ed set o|
|00002ee0| 66 20 69 64 65 6e 74 69 | 66 69 65 72 73 20 69 73 |f identi|fiers is|
|00002ef0| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 49 64 65 | as foll|ows:.Ide|
|00002f00| 6e 74 69 66 69 65 72 09 | 43 6f 75 6e 74 72 79 2f |ntifier.|Country/|
|00002f10| 4c 61 6e 67 75 61 67 65 | 0d 27 55 53 27 09 55 6e |Language|.'US'.Un|
|00002f20| 69 74 65 64 20 53 74 61 | 74 65 73 0d 27 4a 50 27 |ited Sta|tes.'JP'|
|00002f30| 09 4a 61 70 61 6e 65 73 | 65 0d 27 53 43 27 09 53 |.Japanes|e.'SC'.S|
|00002f40| 69 6d 70 6c 69 66 69 65 | 64 20 43 68 69 6e 65 73 |implifie|d Chines|
|00002f50| 65 0d 27 54 43 27 09 54 | 72 61 64 69 74 69 6f 6e |e.'TC'.T|radition|
|00002f60| 61 6c 20 43 68 69 6e 65 | 73 65 0d 27 4b 48 27 09 |al Chine|se.'KH'.|
|00002f70| 4b 6f 72 65 61 6e 0d 27 | 41 42 27 09 41 72 61 62 |Korean.'|AB'.Arab|
|00002f80| 69 63 0d 27 48 42 27 09 | 48 65 62 72 65 77 0d 27 |ic.'HB'.|Hebrew.'|
|00002f90| 54 48 27 09 54 68 61 69 | 0d 52 65 73 6f 75 72 63 |TH'.Thai|.Resourc|
|00002fa0| 65 73 0d 54 68 69 73 20 | 73 65 63 74 69 6f 6e 20 |es.This |section |
|00002fb0| 64 65 73 63 72 69 62 65 | 73 20 68 6f 77 20 77 65 |describe|s how we|
|00002fc0| 20 75 73 65 20 73 74 72 | 69 6e 67 20 72 65 73 6f | use str|ing reso|
|00002fd0| 75 72 63 65 73 20 61 6e | 64 20 77 68 61 74 20 69 |urces an|d what i|
|00002fe0| 73 20 72 65 71 75 69 72 | 65 64 20 74 6f 20 64 65 |s requir|ed to de|
|00002ff0| 66 69 6e 65 20 74 68 65 | 6d 20 70 72 6f 70 65 72 |fine the|m proper|
|00003000| 6c 79 2e 20 20 54 68 65 | 20 66 69 72 73 74 20 73 |ly. The| first s|
|00003010| 74 65 70 20 69 73 20 74 | 6f 20 69 64 65 6e 74 69 |tep is t|o identi|
|00003020| 66 79 20 77 68 69 63 68 | 20 73 74 72 69 6e 67 73 |fy which| strings|
|00003030| 20 63 61 6e 20 6e 6f 74 | 20 62 65 20 64 65 66 69 | can not| be defi|
|00003040| 6e 65 64 20 62 79 20 6f | 72 64 69 6e 61 6c 69 74 |ned by o|rdinalit|
|00003050| 79 2c 20 61 6e 64 20 74 | 68 75 73 20 73 68 6f 75 |y, and t|hus shou|
|00003060| 6c 64 20 62 65 20 61 63 | 63 65 73 73 65 64 20 75 |ld be ac|cessed u|
|00003070| 73 69 6e 67 20 72 65 73 | 6f 75 72 63 65 73 2e 20 |sing res|ources. |
|00003080| 20 0d 54 68 65 20 67 6c | 6f 62 61 6c 73 20 75 73 | .The gl|obals us|
|00003090| 65 64 20 69 6e 20 74 68 | 65 20 53 50 45 43 20 53 |ed in th|e SPEC S|
|000030a0| 26 4c 20 73 74 61 6e 64 | 61 72 64 20 51 75 69 63 |&L stand|ard Quic|
|000030b0| 6b 6c 6f 6f 6b 20 74 68 | 61 74 20 72 65 71 75 69 |klook th|at requi|
|000030c0| 72 65 20 73 74 72 69 6e | 67 73 2c 20 61 6e 64 20 |re strin|gs, and |
|000030d0| 74 68 75 73 20 6e 65 65 | 64 20 74 6f 20 62 65 20 |thus nee|d to be |
|000030e0| 75 70 64 61 74 65 64 20 | 64 65 70 65 6e 64 69 6e |updated |dependin|
|000030f0| 67 20 6f 6e 20 74 68 65 | 20 6c 61 6e 67 75 61 67 |g on the| languag|
|00003100| 65 20 6f 66 20 74 68 65 | 20 61 70 70 6c 69 63 61 |e of the| applica|
|00003110| 74 69 6f 6e 20 6f 72 20 | 73 63 72 69 70 74 20 73 |tion or |script s|
|00003120| 79 73 74 65 6d 2c 20 61 | 72 65 20 61 73 20 66 6f |ystem, a|re as fo|
|00003130| 6c 6c 6f 77 73 3a 0d 31 | 29 09 67 50 6c 61 69 6e |llows:.1|).gPlain|
|00003140| 53 74 79 6c 65 20 2d 20 | 53 74 72 69 6e 67 20 77 |Style - |String w|
|00003150| 68 69 63 68 20 64 65 73 | 63 72 69 62 65 73 20 74 |hich des|cribes t|
|00003160| 68 65 20 6d 65 6e 75 20 | 69 74 65 6d 20 74 68 61 |he menu |item tha|
|00003170| 74 20 63 6c 65 61 72 73 | 20 61 6c 6c 20 66 6f 6e |t clears| all fon|
|00003180| 74 20 09 73 65 74 74 69 | 6e 67 73 2e 0d 32 29 09 |t .setti|ngs..2).|
|00003190| 67 46 6f 6e 74 53 74 79 | 6c 65 4c 69 73 74 20 2d |gFontSty|leList -|
|000031a0| 20 6c 69 73 74 20 6f 66 | 20 61 6c 6c 20 73 74 79 | list of| all sty|
|000031b0| 6c 65 73 20 77 68 69 63 | 68 20 63 6f 75 6c 64 20 |les whic|h could |
|000031c0| 70 6f 73 73 69 62 6c 79 | 20 62 65 20 74 65 73 74 |possibly| be test|
|000031d0| 65 64 2e 0d 33 29 09 67 | 46 6f 6e 74 53 69 7a 65 |ed..3).g|FontSize|
|000031e0| 4c 69 73 74 20 2d 20 6c | 69 73 74 20 6f 66 20 61 |List - l|ist of a|
|000031f0| 6c 6c 20 73 69 7a 65 73 | 20 77 68 69 63 68 20 63 |ll sizes| which c|
|00003200| 6f 75 6c 64 20 70 6f 73 | 73 69 62 6c 79 20 62 65 |ould pos|sibly be|
|00003210| 20 74 65 73 74 65 64 2e | 0d 34 29 09 67 46 6f 6e | tested.|.4).gFon|
|00003220| 74 4c 69 73 74 2d 20 6c | 69 73 74 20 6f 66 20 61 |tList- l|ist of a|
|00003230| 6c 6c 20 66 6f 6e 74 73 | 20 77 68 69 63 68 20 63 |ll fonts| which c|
|00003240| 6f 75 6c 64 20 70 6f 73 | 73 69 62 6c 79 20 62 65 |ould pos|sibly be|
|00003250| 20 74 65 73 74 65 64 2e | 0d 35 29 09 67 41 70 70 | tested.|.5).gApp|
|00003260| 54 69 74 6c 65 20 2d 20 | 6e 61 6d 65 20 6f 66 20 |Title - |name of |
|00003270| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00003280| 75 6e 64 65 72 20 74 65 | 73 74 2e 0d 36 29 09 41 |under te|st..6).A|
|00003290| 6e 79 20 73 74 72 69 6e | 67 73 20 75 73 65 64 20 |ny strin|gs used |
|000032a0| 74 6f 20 64 65 66 69 6e | 65 20 74 6f 6f 6c 20 70 |to defin|e tool p|
|000032b0| 61 6c 65 74 74 65 73 20 | 28 6b 50 61 6c 57 69 6e |alettes |(kPalWin|
|000032c0| 64 29 2e 0d 37 29 09 41 | 6e 79 20 6d 69 73 63 65 |d)..7).A|ny misce|
|000032d0| 6c 6c 61 6e 65 6f 75 73 | 20 73 74 72 69 6e 67 73 |llaneous| strings|
|000032e0| 20 28 44 61 74 61 2c 20 | 42 75 74 74 6f 6e 73 2c | (Data, |Buttons,|
|000032f0| 20 65 74 63 2e 29 0d 38 | 29 09 67 53 63 72 61 70 | etc.).8|).gScrap|
|00003300| 54 69 74 6c 65 20 2d 20 | 74 69 74 6c 65 20 6f 66 |Title - |title of|
|00003310| 20 74 68 65 20 73 63 72 | 61 70 62 6f 6f 6b 2e 0d | the scr|apbook..|
|00003320| 39 29 09 67 43 68 6f 6f | 73 65 72 20 2d 20 74 69 |9).gChoo|ser - ti|
|00003330| 74 6c 65 20 6f 66 20 74 | 68 65 20 63 68 6f 6f 73 |tle of t|he choos|
|00003340| 65 72 2e 0d 31 30 29 09 | 67 54 65 78 74 53 74 72 |er..10).|gTextStr|
|00003350| 20 2d 20 61 20 73 74 72 | 69 6e 67 20 6f 66 20 74 | - a str|ing of t|
|00003360| 65 78 74 2e 0d 54 68 65 | 20 6e 65 78 74 20 73 74 |ext..The| next st|
|00003370| 65 70 20 69 73 20 74 6f | 20 69 64 65 6e 74 69 66 |ep is to| identif|
|00003380| 79 20 68 6f 77 20 65 61 | 63 68 20 73 74 72 69 6e |y how ea|ch strin|
|00003390| 67 20 6f 72 20 73 65 74 | 20 6f 66 20 73 74 72 69 |g or set| of stri|
|000033a0| 6e 67 20 69 73 20 74 6f | 20 62 65 20 75 73 65 64 |ng is to| be used|
|000033b0| 2e 20 20 44 65 74 65 72 | 6d 69 6e 69 6e 67 20 68 |. Deter|mining h|
|000033c0| 6f 77 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |ow the v|ariable |
|000033d0| 77 69 6c 6c 20 62 65 20 | 75 73 65 64 20 77 69 6c |will be |used wil|
|000033e0| 6c 20 68 65 6c 70 20 75 | 73 20 64 65 74 65 72 6d |l help u|s determ|
|000033f0| 69 6e 65 20 69 66 20 69 | 74 20 69 73 20 67 6c 6f |ine if i|t is glo|
|00003400| 62 61 6c 6c 79 20 28 61 | 63 72 6f 73 73 20 6d 61 |bally (a|cross ma|
|00003410| 6e 79 20 73 63 72 69 70 | 74 73 29 20 6f 72 20 69 |ny scrip|ts) or i|
|00003420| 73 20 73 70 65 63 69 66 | 69 63 20 74 6f 20 61 6e |s specif|ic to an|
|00003430| 20 69 6e 64 69 76 69 64 | 75 61 6c 20 61 70 70 6c | individ|ual appl|
|00003440| 69 63 61 74 69 6f 6e 20 | 73 63 72 69 70 74 2e 20 |ication |script. |
|00003450| 20 54 68 69 73 20 77 69 | 6c 6c 20 68 65 6c 70 20 | This wi|ll help |
|00003460| 75 73 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 65 |us deter|mine whe|
|00003470| 72 65 20 77 65 20 73 68 | 6f 75 6c 64 20 64 65 66 |re we sh|ould def|
|00003480| 69 6e 65 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ine the |variable|
|00003490| 2c 20 69 6e 20 61 20 6c | 69 62 72 61 72 79 20 6f |, in a l|ibrary o|
|000034a0| 72 20 69 6e 20 74 68 65 | 20 69 6e 64 69 76 69 64 |r in the| individ|
|000034b0| 75 61 6c 20 73 63 72 69 | 70 74 73 2e 20 42 61 73 |ual scri|pts. Bas|
|000034c0| 65 64 20 6f 6e 20 68 6f | 77 20 74 68 65 20 73 74 |ed on ho|w the st|
|000034d0| 72 69 6e 67 73 20 61 72 | 65 20 74 6f 20 62 65 20 |rings ar|e to be |
|000034e0| 75 73 65 64 20 77 65 20 | 68 61 76 65 20 62 72 6f |used we |have bro|
|000034f0| 6b 65 6e 20 69 74 20 64 | 6f 77 6e 20 69 6e 20 74 |ken it d|own in t|
|00003500| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 61 6e |he follo|wing man|
|00003510| 6e 65 72 3a 0d 53 63 72 | 69 70 74 20 76 61 72 69 |ner:.Scr|ipt vari|
|00003520| 61 62 6c 65 73 3a 20 67 | 50 6c 61 69 6e 53 74 79 |ables: g|PlainSty|
|00003530| 6c 65 2c 20 67 46 6f 6e | 74 53 74 79 6c 65 4c 69 |le, gFon|tStyleLi|
|00003540| 73 74 20 2c 20 67 46 6f | 6e 74 53 69 7a 65 4c 69 |st , gFo|ntSizeLi|
|00003550| 73 74 2c 20 67 41 70 70 | 54 69 74 6c 65 2c 20 61 |st, gApp|Title, a|
|00003560| 6e 79 20 73 74 72 69 6e | 67 73 20 75 73 65 64 20 |ny strin|gs used |
|00003570| 74 6f 20 64 65 66 69 6e | 65 20 74 6f 6f 6c 20 70 |to defin|e tool p|
|00003580| 61 6c 65 74 74 65 73 2c | 20 61 6e 79 20 6d 69 73 |alettes,| any mis|
|00003590| 63 65 6c 6c 61 6e 65 6f | 75 73 20 73 74 72 69 6e |cellaneo|us strin|
|000035a0| 67 73 2e 0d 4c 69 62 72 | 61 72 79 20 76 61 72 69 |gs..Libr|ary vari|
|000035b0| 61 62 6c 65 73 3a 20 67 | 46 6f 6e 74 4c 69 73 74 |ables: g|FontList|
|000035c0| 2c 20 67 53 63 72 61 70 | 54 69 74 6c 65 2c 20 67 |, gScrap|Title, g|
|000035d0| 43 68 6f 6f 73 65 72 2c | 20 67 54 65 78 74 53 74 |Chooser,| gTextSt|
|000035e0| 72 0d 4e 6f 77 20 74 68 | 61 74 20 77 65 20 68 61 |r.Now th|at we ha|
|000035f0| 76 65 20 69 64 65 6e 74 | 69 66 69 65 64 20 77 68 |ve ident|ified wh|
|00003600| 61 74 20 6e 65 65 64 73 | 20 74 6f 20 62 65 20 6c |at needs| to be l|
|00003610| 6f 63 61 74 65 64 20 69 | 6e 20 72 65 73 6f 75 72 |ocated i|n resour|
|00003620| 63 65 73 2c 20 61 6e 64 | 20 77 68 65 72 65 20 74 |ces, and| where t|
|00003630| 68 65 79 20 73 68 6f 75 | 6c 64 20 72 65 73 69 64 |hey shou|ld resid|
|00003640| 65 2c 20 77 65 20 6e 65 | 65 64 20 61 20 6d 65 63 |e, we ne|ed a mec|
|00003650| 68 61 6e 69 73 6d 20 66 | 6f 72 20 75 73 69 6e 67 |hanism f|or using|
|00003660| 20 74 68 65 6d 2e 20 20 | 54 68 65 20 73 74 72 69 | them. |The stri|
|00003670| 6e 67 20 72 65 73 6f 75 | 72 63 65 73 20 6d 65 6e |ng resou|rces men|
|00003680| 74 69 6f 6e 65 64 20 61 | 62 6f 76 65 20 77 69 6c |tioned a|bove wil|
|00003690| 6c 20 62 65 20 75 73 65 | 64 20 69 6e 20 73 65 74 |l be use|d in set|
|000036a0| 73 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 73 |s based |on the s|
|000036b0| 70 65 63 69 66 69 65 64 | 20 6c 61 6e 67 75 61 67 |pecified| languag|
|000036c0| 65 2e 20 20 54 6f 20 61 | 76 6f 69 64 20 63 6f 6e |e. To a|void con|
|000036d0| 66 6c 69 63 74 73 2c 20 | 77 65 20 68 61 76 65 20 |flicts, |we have |
|000036e0| 64 65 66 69 6e 65 64 20 | 73 6f 6d 65 20 73 65 74 |defined |some set|
|000036f0| 73 20 6f 66 20 72 65 73 | 6f 75 72 63 65 20 49 44 |s of res|ource ID|
|00003700| 73 20 62 61 73 65 64 20 | 6f 6e 20 6c 61 6e 67 75 |s based |on langu|
|00003710| 61 67 65 2e 20 20 49 74 | 20 69 73 20 69 6d 70 6f |age. It| is impo|
|00003720| 72 74 61 6e 74 20 74 6f | 20 75 6e 64 65 72 73 74 |rtant to| underst|
|00003730| 61 6e 64 20 74 68 61 74 | 20 61 6c 6c 20 73 74 72 |and that| all str|
|00003740| 69 6e 67 73 20 66 6f 72 | 20 61 20 70 61 72 74 69 |ings for| a parti|
|00003750| 63 75 6c 61 72 20 6c 61 | 6e 67 75 61 67 65 20 73 |cular la|nguage s|
|00003760| 68 6f 75 6c 64 20 65 78 | 69 73 74 20 6f 6e 6c 79 |hould ex|ist only|
|00003770| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 65 74 20 | within |the set |
|00003780| 6f 66 20 72 65 73 6f 75 | 72 63 65 73 20 74 68 61 |of resou|rces tha|
|00003790| 74 20 68 61 76 65 20 62 | 65 65 6e 20 64 65 66 69 |t have b|een defi|
|000037a0| 6e 65 64 20 66 6f 72 20 | 74 68 61 74 20 6c 61 6e |ned for |that lan|
|000037b0| 67 75 61 67 65 2e 20 20 | 46 6f 72 20 65 78 61 6d |guage. |For exam|
|000037c0| 70 6c 65 2c 20 27 55 53 | 27 20 73 74 72 69 6e 67 |ple, 'US|' string|
|000037d0| 73 20 73 68 6f 75 6c 64 | 20 6e 65 76 65 72 20 62 |s should| never b|
|000037e0| 65 20 69 6e 20 74 68 65 | 20 27 4a 50 27 20 20 73 |e in the| 'JP' s|
|000037f0| 65 74 20 6f 66 20 27 53 | 54 52 23 27 20 72 65 73 |et of 'S|TR#' res|
|00003800| 6f 75 72 63 65 73 2e 0d | 4e 6f 74 65 3a 20 20 41 |ources..|Note: A|
|00003810| 6c 6c 20 72 65 73 6f 75 | 72 63 65 73 20 74 68 61 |ll resou|rces tha|
|00003820| 74 20 61 72 65 20 75 73 | 65 64 20 62 79 20 53 50 |t are us|ed by SP|
|00003830| 45 43 20 53 26 4c 20 61 | 72 65 20 74 79 70 65 20 |EC S&L a|re type |
|00003840| 27 53 54 52 23 27 2c 20 | 77 68 69 63 68 20 69 73 |'STR#', |which is|
|00003850| 20 61 20 73 74 72 69 6e | 67 20 6c 69 73 74 20 72 | a strin|g list r|
|00003860| 65 73 6f 75 72 63 65 2c | 20 61 6e 64 20 63 61 6e |esource,| and can|
|00003870| 20 63 6f 6e 74 61 69 6e | 20 6f 6e 65 20 74 6f 20 | contain| one to |
|00003880| 6d 61 6e 79 20 73 74 72 | 69 6e 67 73 2e 0d 52 65 |many str|ings..Re|
|00003890| 73 6f 75 72 63 65 20 53 | 65 74 73 20 20 2d 20 28 |source S|ets - (|
|000038a0| 42 61 73 65 64 20 6f 6e | 20 4c 61 6e 67 75 61 67 |Based on| Languag|
|000038b0| 65 29 0d 54 68 65 73 65 | 20 73 65 74 73 20 6f 66 |e).These| sets of|
|000038c0| 20 72 65 73 6f 75 72 63 | 65 20 49 44 73 20 77 69 | resourc|e IDs wi|
|000038d0| 6c 6c 20 61 70 70 6c 79 | 20 72 65 67 61 72 64 6c |ll apply| regardl|
|000038e0| 65 73 73 20 69 66 20 61 | 20 72 65 73 6f 75 72 63 |ess if a| resourc|
|000038f0| 65 20 72 65 73 69 64 65 | 73 20 69 6e 20 61 20 6c |e reside|s in a l|
|00003900| 69 62 72 61 72 79 20 6f | 72 20 69 6e 20 61 20 73 |ibrary o|r in a s|
|00003910| 63 72 69 70 74 2e 20 20 | 41 6c 6c 20 6f 66 20 74 |cript. |All of t|
|00003920| 68 65 20 72 65 73 6f 75 | 72 63 65 73 20 77 69 74 |he resou|rces wit|
|00003930| 68 69 6e 20 61 20 67 69 | 76 65 6e 20 72 61 6e 67 |hin a gi|ven rang|
|00003940| 65 20 61 72 65 20 72 65 | 73 65 72 76 65 64 20 66 |e are re|served f|
|00003950| 6f 72 20 61 20 73 70 65 | 63 69 66 69 63 20 6c 61 |or a spe|cific la|
|00003960| 6e 67 75 61 67 65 2e 0d | 49 64 65 6e 74 69 66 69 |nguage..|Identifi|
|00003970| 65 72 09 52 61 6e 67 65 | 0d 27 55 53 27 09 32 30 |er.Range|.'US'.20|
|00003980| 30 2d 32 39 39 0d 27 4a | 50 27 09 33 30 30 2d 33 |0-299.'J|P'.300-3|
|00003990| 39 39 0d 27 53 43 27 09 | 34 30 30 2d 34 39 39 0d |99.'SC'.|400-499.|
|000039a0| 27 54 43 27 09 35 30 30 | 2d 35 39 39 0d 27 4b 48 |'TC'.500|-599.'KH|
|000039b0| 27 09 36 30 30 2d 36 39 | 39 0d 27 41 42 27 09 37 |'.600-69|9.'AB'.7|
|000039c0| 30 30 2d 37 39 39 0d 27 | 48 42 27 09 38 30 30 2d |00-799.'|HB'.800-|
|000039d0| 38 39 39 0d 27 54 48 27 | 09 39 30 30 2d 39 39 39 |899.'TH'|.900-999|
|000039e0| 0d 20 47 72 61 70 68 69 | 63 61 6c 6c 79 20 72 65 |. Graphi|cally re|
|000039f0| 70 72 65 73 65 6e 74 65 | 64 20 61 20 72 65 73 6f |presente|d a reso|
|00003a00| 75 72 63 65 20 6d 61 70 | 20 77 6f 75 6c 64 20 6c |urce map| would l|
|00003a10| 6f 6f 6b 20 6c 69 6b 65 | 20 74 68 65 20 66 6f 6c |ook like| the fol|
|00003a20| 6c 6f 77 69 6e 67 3a 0d | 53 63 72 69 70 74 20 52 |lowing:.|Script R|
|00003a30| 65 73 6f 75 72 63 65 20 | 4c 61 79 6f 75 74 0d 54 |esource |Layout.T|
|00003a40| 68 65 20 6c 6f 63 61 74 | 69 6f 6e 20 6f 66 20 73 |he locat|ion of s|
|00003a50| 70 65 63 69 66 69 63 20 | 73 74 72 69 6e 67 73 20 |pecific |strings |
|00003a60| 77 69 74 68 20 61 20 53 | 54 52 23 20 72 65 73 6f |with a S|TR# reso|
|00003a70| 75 72 63 65 20 69 73 20 | 76 65 72 79 20 69 6d 70 |urce is |very imp|
|00003a80| 6f 72 74 61 6e 74 2e 20 | 20 54 68 65 20 66 6f 6c |ortant. | The fol|
|00003a90| 6c 6f 77 69 6e 67 20 74 | 61 62 6c 65 20 64 65 66 |lowing t|able def|
|00003aa0| 69 6e 65 73 20 74 68 65 | 20 73 74 72 69 6e 67 73 |ines the| strings|
|00003ab0| 20 74 68 61 74 20 6d 75 | 73 74 20 62 65 20 63 6f | that mu|st be co|
|00003ac0| 6e 74 61 69 6e 65 64 20 | 77 69 74 68 69 6e 20 73 |ntained |within s|
|00003ad0| 70 65 63 69 66 69 63 20 | 53 54 52 23 20 72 65 73 |pecific |STR# res|
|00003ae0| 6f 75 72 63 65 73 20 77 | 69 74 68 69 6e 20 69 6e |ources w|ithin in|
|00003af0| 64 69 76 69 64 75 61 6c | 20 61 70 70 6c 69 63 61 |dividual| applica|
|00003b00| 74 69 6f 6e 20 51 75 69 | 63 6b 6c 6f 6f 6b 20 73 |tion Qui|cklook s|
|00003b10| 63 72 69 70 74 73 2e 20 | 20 20 20 54 68 69 73 20 |cripts. | This |
|00003b20| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 73 20 66 |informat|ion is f|
|00003b30| 6f 72 20 73 63 72 69 70 | 74 73 20 6f 6e 6c 79 3b |or scrip|ts only;|
|00003b40| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 6c 61 | the res|ource la|
|00003b50| 79 6f 75 74 20 66 6f 72 | 20 6c 69 62 72 61 72 69 |yout for| librari|
|00003b60| 65 73 20 69 73 20 69 6e | 20 74 68 65 20 66 6f 6c |es is in| the fol|
|00003b70| 6c 6f 77 69 6e 67 20 73 | 65 63 74 69 6f 6e 2e 0d |lowing s|ection..|
|00003b80| 4e 6f 74 65 3a 20 54 68 | 65 20 62 61 73 65 20 72 |Note: Th|e base r|
|00003b90| 65 73 6f 75 72 63 65 20 | 69 73 20 74 68 65 20 66 |esource |is the f|
|00003ba0| 69 72 73 74 20 53 54 52 | 23 20 72 65 73 6f 75 72 |irst STR|# resour|
|00003bb0| 63 65 20 69 6e 20 61 20 | 6c 61 6e 67 75 61 67 65 |ce in a |language|
|00003bc0| 20 73 65 74 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 | set. F|or examp|
|00003bd0| 6c 65 20 74 68 65 20 62 | 61 73 65 20 72 65 73 6f |le the b|ase reso|
|00003be0| 75 72 63 65 20 66 6f 72 | 20 4a 61 70 61 6e 65 73 |urce for| Japanes|
|00003bf0| 65 20 69 73 20 33 30 30 | 2e 20 20 46 6f 6e 74 53 |e is 300|. FontS|
|00003c00| 74 79 6c 65 20 69 73 20 | 66 6f 72 20 73 74 79 6c |tyle is |for styl|
|00003c10| 65 73 20 6f 74 68 65 72 | 20 74 68 61 6e 20 50 6c |es other| than Pl|
|00003c20| 61 69 6e 2f 4e 6f 72 6d | 61 6c 2e 20 20 55 73 65 |ain/Norm|al. Use|
|00003c30| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 65 6c 65 6d | the sec|ond elem|
|00003c40| 65 6e 74 20 6f 66 20 74 | 68 65 20 42 61 73 65 20 |ent of t|he Base |
|00003c50| 52 65 73 6f 75 72 63 65 | 2c 20 67 50 6c 61 69 6e |Resource|, gPlain|
|00003c60| 53 74 79 6c 65 2c 20 66 | 6f 72 20 74 68 69 73 2e |Style, f|or this.|
|00003c70| 0d 4c 69 62 72 61 72 79 | 20 52 65 73 6f 75 72 63 |.Library| Resourc|
|00003c80| 65 20 4c 61 79 6f 75 74 | 0d 41 67 61 69 6e 2c 20 |e Layout|.Again, |
|00003c90| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 6f 66 20 |the loca|tion of |
|00003ca0| 73 70 65 63 69 66 69 63 | 20 73 74 72 69 6e 67 73 |specific| strings|
|00003cb0| 20 77 69 74 68 20 61 20 | 53 54 52 23 20 72 65 73 | with a |STR# res|
|00003cc0| 6f 75 72 63 65 20 69 73 | 20 76 65 72 79 20 69 6d |ource is| very im|
|00003cd0| 70 6f 72 74 61 6e 74 2e | 20 20 54 68 65 20 66 6f |portant.| The fo|
|00003ce0| 6c 6c 6f 77 69 6e 67 20 | 74 61 62 6c 65 20 64 65 |llowing |table de|
|00003cf0| 66 69 6e 65 73 20 74 68 | 65 20 73 74 72 69 6e 67 |fines th|e string|
|00003d00| 73 20 74 68 61 74 20 6d | 75 73 74 20 62 65 20 63 |s that m|ust be c|
|00003d10| 6f 6e 74 61 69 6e 65 64 | 20 77 69 74 68 69 6e 20 |ontained| within |
|00003d20| 73 70 65 63 69 66 69 63 | 20 53 54 52 23 20 72 65 |specific| STR# re|
|00003d30| 73 6f 75 72 63 65 73 20 | 77 69 74 68 69 6e 20 74 |sources |within t|
|00003d40| 68 65 20 57 6f 72 6c 64 | 52 65 61 64 79 2e 4c 69 |he World|Ready.Li|
|00003d50| 62 2e 20 20 54 68 69 73 | 20 69 6e 66 6f 72 6d 61 |b. This| informa|
|00003d60| 74 69 6f 6e 20 69 73 20 | 66 6f 72 20 74 68 65 20 |tion is |for the |
|00003d70| 57 6f 72 6c 64 52 65 61 | 64 79 2e 4c 69 62 20 6f |WorldRea|dy.Lib o|
|00003d80| 6e 6c 79 3b 20 20 74 68 | 65 20 72 65 73 6f 75 72 |nly; th|e resour|
|00003d90| 63 65 20 6c 61 79 6f 75 | 74 20 66 6f 72 20 73 63 |ce layou|t for sc|
|00003da0| 72 69 70 74 73 20 69 73 | 20 69 6e 20 74 68 65 20 |ripts is| in the |
|00003db0| 70 72 65 76 69 6f 75 73 | 20 73 65 63 74 69 6f 6e |previous| section|
|00003dc0| 2e 20 0d 4e 6f 74 65 3a | 20 54 68 65 20 62 61 73 |. .Note:| The bas|
|00003dd0| 65 20 72 65 73 6f 75 72 | 63 65 20 69 73 20 74 68 |e resour|ce is th|
|00003de0| 65 20 66 69 72 73 74 20 | 53 54 52 23 20 72 65 73 |e first |STR# res|
|00003df0| 6f 75 72 63 65 20 69 6e | 20 61 20 6c 61 6e 67 75 |ource in| a langu|
|00003e00| 61 67 65 20 73 65 74 2e | 20 20 46 6f 72 20 65 78 |age set.| For ex|
|00003e10| 61 6d 70 6c 65 20 74 68 | 65 20 62 61 73 65 20 72 |ample th|e base r|
|00003e20| 65 73 6f 75 72 63 65 20 | 66 6f 72 20 4a 61 70 61 |esource |for Japa|
|00003e30| 6e 65 73 65 20 69 73 20 | 33 30 30 2e 0d 43 61 6c |nese is |300..Cal|
|00003e40| 6c 69 6e 67 20 61 20 4c | 6f 63 61 6c 69 7a 65 64 |ling a L|ocalized|
|00003e50| 2f 4c 6f 63 61 6c 69 7a | 65 61 62 6c 65 20 53 63 |/Localiz|eable Sc|
|00003e60| 72 69 70 74 0d 73 63 72 | 69 70 74 09 41 70 70 6c |ript.scr|ipt.Appl|
|00003e70| 69 63 61 74 69 6f 6e 4e | 61 6d 65 28 20 70 54 65 |icationN|ame( pTe|
|00003e80| 73 74 4c 65 76 65 6c 2c | 20 70 41 70 70 4c 61 6e |stLevel,| pAppLan|
|00003e90| 67 75 61 67 65 2c 20 70 | 53 63 72 69 70 74 53 79 |guage, p|ScriptSy|
|00003ea0| 73 74 65 6d 20 29 0d 53 | 63 72 69 70 74 20 50 61 |stem ).S|cript Pa|
|00003eb0| 72 61 6d 65 74 65 72 73 | 0d 50 61 72 61 6d 65 74 |rameters|.Paramet|
|00003ec0| 65 72 20 09 3a 20 70 41 | 70 70 4c 61 6e 67 75 61 |er .: pA|ppLangua|
|00003ed0| 67 65 0d 50 61 72 61 6d | 65 74 65 72 20 54 79 70 |ge.Param|eter Typ|
|00003ee0| 65 09 3a 20 53 74 72 69 | 6e 67 20 28 4c 61 6e 67 |e.: Stri|ng (Lang|
|00003ef0| 75 61 67 65 20 49 64 65 | 6e 74 69 66 69 65 72 29 |uage Ide|ntifier)|
|00003f00| 09 0d 50 61 72 61 6d 65 | 74 65 72 20 44 61 74 61 |..Parame|ter Data|
|00003f10| 09 3a 20 54 68 69 73 20 | 73 68 6f 75 6c 64 20 62 |.: This |should b|
|00003f20| 65 20 74 68 65 20 6c 61 | 6e 67 75 61 67 65 20 49 |e the la|nguage I|
|00003f30| 64 65 6e 74 69 66 69 65 | 72 20 66 6f 72 20 74 68 |dentifie|r for th|
|00003f40| 65 20 6c 61 6e 67 75 61 | 67 65 20 6f 66 20 74 68 |e langua|ge of th|
|00003f50| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 79 6f |e applic|ation yo|
|00003f60| 75 20 77 61 6e 74 20 74 | 6f 20 74 65 73 74 2e 0d |u want t|o test..|
|00003f70| 09 3a 20 27 27 20 2d 20 | 77 69 6c 6c 20 64 65 66 |.: '' - |will def|
|00003f80| 61 75 6c 74 20 74 6f 20 | 74 68 65 20 6c 61 6e 67 |ault to |the lang|
|00003f90| 75 61 67 65 20 6f 66 20 | 74 68 65 20 70 72 69 6d |uage of |the prim|
|00003fa0| 61 72 79 20 73 63 72 69 | 70 74 20 73 79 73 74 65 |ary scri|pt syste|
|00003fb0| 6d 2e 0d 09 3a 20 27 55 | 53 27 20 20 2d 20 6f 72 |m...: 'U|S' - or|
|00003fc0| 20 61 6e 79 20 6f 74 68 | 65 72 20 41 70 70 6c 69 | any oth|er Appli|
|00003fd0| 63 61 74 69 6f 6e 20 4c | 61 6e 67 75 61 67 65 20 |cation L|anguage |
|00003fe0| 69 64 65 6e 74 69 66 69 | 65 72 20 74 68 61 74 20 |identifi|er that |
|00003ff0| 79 6f 75 20 61 72 65 20 | 69 6e 74 65 72 65 73 74 |you are |interest|
|00004000| 65 64 20 69 6e 20 74 65 | 73 74 69 6e 67 20 61 6e |ed in te|sting an|
|00004010| 64 20 68 61 73 20 62 65 | 65 6e 20 64 65 66 69 6e |d has be|en defin|
|00004020| 65 64 2e 0d 50 61 72 61 | 6d 65 74 65 72 20 09 3a |ed..Para|meter .:|
|00004030| 20 70 53 63 72 69 70 74 | 53 79 73 74 65 6d 0d 50 | pScript|System.P|
|00004040| 61 72 61 6d 65 74 65 72 | 20 54 79 70 65 09 3a 20 |arameter| Type.: |
|00004050| 4c 69 73 74 09 0d 50 61 | 72 61 6d 65 74 65 72 20 |List..Pa|rameter |
|00004060| 44 61 74 61 09 3a 20 4c | 69 73 74 20 77 68 69 63 |Data.: L|ist whic|
|00004070| 68 20 64 65 66 69 6e 65 | 73 20 68 6f 77 20 74 6f |h define|s how to|
|00004080| 20 68 61 6e 64 6c 65 20 | 74 68 65 20 73 63 72 69 | handle |the scri|
|00004090| 70 74 20 73 79 73 74 65 | 6d 2e 0d 09 31 73 74 20 |pt syste|m...1st |
|000040a0| 65 6c 65 6d 65 6e 74 20 | 2d 20 28 53 74 72 69 6e |element |- (Strin|
|000040b0| 67 29 20 4c 61 6e 67 75 | 61 67 65 20 63 6f 64 65 |g) Langu|age code|
|000040c0| 20 66 6f 72 20 74 68 65 | 20 6c 61 6e 67 75 61 67 | for the| languag|
|000040d0| 65 20 6f 66 20 74 68 65 | 20 73 63 72 69 70 74 20 |e of the| script |
|000040e0| 73 79 73 74 65 6d 20 75 | 6e 64 65 72 20 74 65 73 |system u|nder tes|
|000040f0| 74 2e 20 44 65 66 61 75 | 6c 74 20 69 73 20 74 68 |t. Defau|lt is th|
|00004100| 65 20 6c 61 6e 67 75 61 | 67 65 20 6f 66 20 74 68 |e langua|ge of th|
|00004110| 65 20 70 72 69 6d 61 72 | 79 20 73 63 72 69 70 74 |e primar|y script|
|00004120| 20 73 79 73 74 65 6d 2e | 0d 09 32 6e 64 20 65 6c | system.|..2nd el|
|00004130| 65 6d 65 6e 74 20 2d 20 | 28 62 6f 6f 6c 65 61 6e |ement - |(boolean|
|00004140| 20 69 6e 74 65 67 65 72 | 29 20 46 6c 61 67 20 77 | integer|) Flag w|
|00004150| 68 69 63 68 20 69 6e 64 | 69 63 61 74 65 73 20 77 |hich ind|icates w|
|00004160| 68 65 74 68 65 72 20 74 | 68 65 20 73 63 72 69 70 |hether t|he scrip|
|00004170| 74 20 73 79 73 74 65 6d | 20 68 61 73 20 62 65 65 |t system| has bee|
|00004180| 6e 20 6c 6f 63 61 6c 69 | 7a 65 64 20 6f 72 20 6e |n locali|zed or n|
|00004190| 6f 74 2e 0d 09 33 72 64 | 20 65 6c 65 6d 65 6e 74 |ot...3rd| element|
|000041a0| 20 2d 20 28 53 74 72 69 | 6e 67 29 20 4c 61 6e 67 | - (Stri|ng) Lang|
|000041b0| 75 61 67 65 20 63 6f 64 | 65 20 66 6f 72 20 74 68 |uage cod|e for th|
|000041c0| 65 20 6c 61 6e 67 75 61 | 67 65 20 66 6f 72 20 46 |e langua|ge for F|
|000041d0| 6f 6e 74 73 20 28 67 46 | 6f 6e 74 4c 69 73 74 29 |onts (gF|ontList)|
|000041e0| 20 61 6e 64 20 74 68 65 | 20 67 6c 6f 62 61 6c 20 | and the| global |
|000041f0| 74 65 78 74 20 73 74 72 | 69 6e 67 20 28 67 54 65 |text str|ing (gTe|
|00004200| 78 74 53 74 72 29 2e 20 | 44 65 66 61 75 6c 74 20 |xtStr). |Default |
|00004210| 69 73 20 74 68 65 20 6c | 61 6e 67 75 61 67 65 20 |is the l|anguage |
|00004220| 6f 66 20 74 68 65 20 70 | 72 69 6d 61 72 79 20 73 |of the p|rimary s|
|00004230| 63 72 69 70 74 20 73 79 | 73 74 65 6d 2e 0d 43 61 |cript sy|stem..Ca|
|00004240| 6c 6c 69 6e 67 20 57 6f | 72 6c 64 52 65 61 64 79 |lling Wo|rldReady|
|00004250| 2e 4c 69 62 0d 49 6e 69 | 74 49 4e 54 4c 47 6c 6f |.Lib.Ini|tINTLGlo|
|00004260| 62 61 6c 73 28 20 70 41 | 70 70 4c 61 6e 67 75 61 |bals( pA|ppLangua|
|00004270| 67 65 2c 20 70 53 63 72 | 69 70 74 53 79 73 74 65 |ge, pScr|iptSyste|
|00004280| 6d 2c 20 70 44 65 66 69 | 6e 65 64 41 70 70 4c 61 |m, pDefi|nedAppLa|
|00004290| 6e 67 75 61 67 65 73 29 | 0d 54 68 69 73 20 74 61 |nguages)|.This ta|
|000042a0| 73 6b 20 69 73 20 75 73 | 65 64 20 74 6f 20 69 6e |sk is us|ed to in|
|000042b0| 69 74 61 6c 69 7a 65 20 | 76 61 72 69 6f 75 73 20 |italize |various |
|000042c0| 67 6c 6f 62 61 6c 73 20 | 75 73 65 64 20 62 79 20 |globals |used by |
|000042d0| 6c 6f 63 61 6c 69 7a 61 | 62 6c 65 20 73 63 72 69 |localiza|ble scri|
|000042e0| 70 74 73 2e 0d 50 61 72 | 61 6d 65 74 65 72 73 20 |pts..Par|ameters |
|000042f0| 74 6f 20 49 6e 69 74 49 | 4e 54 4c 47 6c 6f 62 61 |to InitI|NTLGloba|
|00004300| 6c 73 28 29 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |ls().Par|ameter .|
|00004310| 3a 20 70 41 70 70 4c 61 | 6e 67 75 61 67 65 0d 50 |: pAppLa|nguage.P|
|00004320| 61 72 61 6d 65 74 65 72 | 20 54 79 70 65 09 3a 20 |arameter| Type.: |
|00004330| 53 74 72 69 6e 67 09 0d | 50 61 72 61 6d 65 74 65 |String..|Paramete|
|00004340| 72 20 44 61 74 61 09 3a | 20 4c 61 6e 67 75 61 67 |r Data.:| Languag|
|00004350| 65 20 63 6f 64 65 20 66 | 6f 72 20 74 68 65 20 6c |e code f|or the l|
|00004360| 61 6e 67 75 61 67 65 20 | 6f 66 20 74 68 65 20 61 |anguage |of the a|
|00004370| 70 70 6c 69 63 61 74 69 | 6f 6e 20 75 6e 64 65 72 |pplicati|on under|
|00004380| 20 74 65 73 74 2e 20 44 | 65 66 61 75 6c 74 20 69 | test. D|efault i|
|00004390| 73 20 74 68 65 20 6c 61 | 6e 67 75 61 67 65 20 6f |s the la|nguage o|
|000043a0| 66 20 74 68 65 20 70 72 | 69 6d 61 72 79 20 73 63 |f the pr|imary sc|
|000043b0| 72 69 70 74 20 73 79 73 | 74 65 6d 2e 0d 09 0d 50 |ript sys|tem....P|
|000043c0| 61 72 61 6d 65 74 65 72 | 20 09 3a 20 70 53 63 72 |arameter| .: pScr|
|000043d0| 69 70 74 53 79 73 74 65 | 6d 0d 50 61 72 61 6d 65 |iptSyste|m.Parame|
|000043e0| 74 65 72 20 54 79 70 65 | 09 3a 20 4c 69 73 74 09 |ter Type|.: List.|
|000043f0| 0d 50 61 72 61 6d 65 74 | 65 72 20 44 61 74 61 09 |.Paramet|er Data.|
|00004400| 3a 20 4c 69 73 74 20 77 | 68 69 63 68 20 64 65 66 |: List w|hich def|
|00004410| 69 6e 65 73 20 68 6f 77 | 20 74 6f 20 68 61 6e 64 |ines how| to hand|
|00004420| 6c 65 20 74 68 65 20 73 | 63 72 69 70 74 20 73 79 |le the s|cript sy|
|00004430| 73 74 65 6d 2e 0d 09 31 | 73 74 20 65 6c 65 6d 65 |stem...1|st eleme|
|00004440| 6e 74 20 2d 20 28 53 74 | 72 69 6e 67 29 20 4c 61 |nt - (St|ring) La|
|00004450| 6e 67 75 61 67 65 20 63 | 6f 64 65 20 66 6f 72 20 |nguage c|ode for |
|00004460| 74 68 65 20 6c 61 6e 67 | 75 61 67 65 20 6f 66 20 |the lang|uage of |
|00004470| 74 68 65 20 73 63 72 69 | 70 74 20 73 79 73 74 65 |the scri|pt syste|
|00004480| 6d 20 75 6e 64 65 72 20 | 74 65 73 74 2e 20 44 65 |m under |test. De|
|00004490| 66 61 75 6c 74 20 69 73 | 20 74 68 65 20 6c 61 6e |fault is| the lan|
|000044a0| 67 75 61 67 65 20 6f 66 | 20 74 68 65 20 70 72 69 |guage of| the pri|
|000044b0| 6d 61 72 79 20 73 63 72 | 69 70 74 20 73 79 73 74 |mary scr|ipt syst|
|000044c0| 65 6d 2e 0d 09 32 6e 64 | 20 65 6c 65 6d 65 6e 74 |em...2nd| element|
|000044d0| 20 2d 20 28 62 6f 6f 6c | 65 61 6e 20 69 6e 74 65 | - (bool|ean inte|
|000044e0| 67 65 72 29 20 46 6c 61 | 67 20 77 68 69 63 68 20 |ger) Fla|g which |
|000044f0| 69 6e 64 69 63 61 74 65 | 73 20 77 68 65 74 68 65 |indicate|s whethe|
|00004500| 72 20 74 68 65 20 73 63 | 72 69 70 74 20 73 79 73 |r the sc|ript sys|
|00004510| 74 65 6d 20 68 61 73 20 | 62 65 65 6e 20 6c 6f 63 |tem has |been loc|
|00004520| 61 6c 69 7a 65 64 20 6f | 72 20 6e 6f 74 2e 0d 09 |alized o|r not...|
|00004530| 33 72 64 20 65 6c 65 6d | 65 6e 74 20 2d 20 28 53 |3rd elem|ent - (S|
|00004540| 74 72 69 6e 67 29 20 4c | 61 6e 67 75 61 67 65 20 |tring) L|anguage |
|00004550| 63 6f 64 65 20 66 6f 72 | 20 74 68 65 20 6c 61 6e |code for| the lan|
|00004560| 67 75 61 67 65 20 66 6f | 72 20 46 6f 6e 74 73 20 |guage fo|r Fonts |
|00004570| 28 67 46 6f 6e 74 4c 69 | 73 74 29 20 61 6e 64 20 |(gFontLi|st) and |
|00004580| 74 68 65 20 67 6c 6f 62 | 61 6c 20 74 65 78 74 20 |the glob|al text |
|00004590| 73 74 72 69 6e 67 20 28 | 67 54 65 78 74 53 74 72 |string (|gTextStr|
|000045a0| 29 2e 20 44 65 66 61 75 | 6c 74 20 69 73 20 74 68 |). Defau|lt is th|
|000045b0| 65 20 6c 61 6e 67 75 61 | 67 65 20 6f 66 20 74 68 |e langua|ge of th|
|000045c0| 65 20 70 72 69 6d 61 72 | 79 20 73 63 72 69 70 74 |e primar|y script|
|000045d0| 20 73 79 73 74 65 6d 2e | 0d 50 61 72 61 6d 65 74 | system.|.Paramet|
|000045e0| 65 72 20 09 3a 20 70 44 | 65 66 69 6e 65 64 41 70 |er .: pD|efinedAp|
|000045f0| 70 4c 61 6e 67 75 61 67 | 65 73 0d 50 61 72 61 6d |pLanguag|es.Param|
|00004600| 65 74 65 72 20 54 79 70 | 65 09 3a 20 4c 69 73 74 |eter Typ|e.: List|
|00004610| 20 6f 66 20 73 74 72 69 | 6e 67 73 0d 50 61 72 61 | of stri|ngs.Para|
|00004620| 6d 65 74 65 72 20 44 61 | 74 61 09 3a 20 4c 61 6e |meter Da|ta.: Lan|
|00004630| 67 75 61 67 65 20 63 6f | 64 65 20 66 6f 72 20 61 |guage co|de for a|
|00004640| 6c 6c 20 6f 66 20 74 68 | 65 20 6c 61 6e 67 75 61 |ll of th|e langua|
|00004650| 67 65 73 20 74 68 61 74 | 20 68 61 76 65 20 62 65 |ges that| have be|
|00004660| 65 6e 20 64 65 66 69 6e | 65 64 20 66 6f 72 20 74 |en defin|ed for t|
|00004670| 68 65 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 2e 0d |he Appli|cation..|
|00004680| 54 68 65 72 65 20 61 72 | 65 20 6e 6f 20 72 65 74 |There ar|e no ret|
|00004690| 75 72 6e 20 56 61 6c 75 | 65 73 20 66 72 6f 6d 20 |urn Valu|es from |
|000046a0| 53 65 74 55 70 49 6e 74 | 6c 47 6c 6f 62 61 6c 73 |SetUpInt|lGlobals|
|000046b0| 28 29 0d 53 74 61 6e 64 | 61 72 64 49 6e 74 6c 48 |().Stand|ardIntlH|
|000046c0| 6f 6f 6b 73 28 20 29 0d | 54 68 69 73 20 74 61 73 |ooks( ).|This tas|
|000046d0| 6b 20 69 73 20 75 73 65 | 64 20 74 6f 20 69 6e 69 |k is use|d to ini|
|000046e0| 74 61 6c 69 7a 65 20 73 | 65 76 65 72 61 6c 20 53 |talize s|everal S|
|000046f0| 74 61 6e 64 61 72 64 46 | 69 6c 65 20 68 6f 6f 6b |tandardF|ile hook|
|00004700| 73 20 74 68 61 74 20 61 | 72 65 20 75 73 65 64 20 |s that a|re used |
|00004710| 62 79 20 6c 6f 63 61 6c | 69 7a 61 62 6c 65 20 73 |by local|izable s|
|00004720| 63 72 69 70 74 73 20 74 | 6f 20 69 6e 73 75 72 65 |cripts t|o insure|
|00004730| 20 74 68 61 74 20 61 6c | 6c 20 74 79 70 69 6e 67 | that al|l typing|
|00004740| 20 74 68 61 74 20 6f 63 | 63 75 72 73 20 6f 6e 20 | that oc|curs on |
|00004750| 53 74 61 6e 64 61 72 64 | 46 69 6c 65 20 77 69 6c |Standard|File wil|
|00004760| 6c 20 6f 63 63 75 72 20 | 69 6e 20 45 6e 67 6c 69 |l occur |in Engli|
|00004770| 73 68 2e 0d 54 68 65 72 | 65 20 61 72 65 20 6e 6f |sh..Ther|e are no|
|00004780| 20 70 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 53 | paramet|ers to S|
|00004790| 74 61 6e 64 61 72 64 49 | 6e 74 6c 48 6f 6f 6b 73 |tandardI|ntlHooks|
|000047a0| 28 29 0d 54 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |().There| are no |
|000047b0| 72 65 74 75 72 6e 20 56 | 61 6c 75 65 73 20 66 72 |return V|alues fr|
|000047c0| 6f 6d 20 53 74 61 6e 64 | 61 72 64 49 6e 74 6c 48 |om Stand|ardIntlH|
|000047d0| 6f 6f 6b 73 28 29 0d 57 | 68 69 63 68 4c 61 6e 67 |ooks().W|hichLang|
|000047e0| 75 61 67 65 52 65 73 6f | 75 72 63 65 73 28 20 70 |uageReso|urces( p|
|000047f0| 41 70 70 4c 61 6e 67 75 | 61 67 65 2c 20 70 53 63 |AppLangu|age, pSc|
|00004800| 72 69 70 74 53 79 73 74 | 65 6d 2c 20 70 44 65 66 |riptSyst|em, pDef|
|00004810| 69 6e 65 64 41 70 70 4c | 61 6e 67 75 61 67 65 73 |inedAppL|anguages|
|00004820| 29 0d 54 68 69 73 20 74 | 61 73 6b 20 69 73 20 75 |).This t|ask is u|
|00004830| 73 65 64 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |sed to d|etermine|
|00004840| 20 77 68 69 63 68 20 6c | 61 6e 67 75 61 67 65 20 | which l|anguage |
|00004850| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati|
|00004860| 6f 6e 20 61 6e 64 20 73 | 63 72 69 70 74 20 73 79 |on and s|cript sy|
|00004870| 73 74 65 6d 20 69 73 20 | 64 65 73 69 72 65 64 2c |stem is |desired,|
|00004880| 20 73 6f 20 74 68 65 20 | 63 6f 72 72 65 63 74 20 | so the |correct |
|00004890| 73 65 74 73 20 6f 66 20 | 67 6c 6f 62 61 6c 73 20 |sets of |globals |
|000048a0| 63 61 6e 20 62 65 20 69 | 6e 69 74 69 61 6c 69 7a |can be i|nitializ|
|000048b0| 65 64 2e 20 20 4e 6f 74 | 65 3a 20 45 61 63 68 20 |ed. Not|e: Each |
|000048c0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 73 63 72 69 |applicat|ion scri|
|000048d0| 70 74 20 63 61 6e 20 63 | 6f 6e 74 61 69 6e 20 74 |pt can c|ontain t|
|000048e0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 74 |he infor|mation t|
|000048f0| 6f 20 72 75 6e 20 73 65 | 76 65 72 61 6c 20 64 69 |o run se|veral di|
|00004900| 66 66 65 72 65 6e 74 20 | 6c 6f 63 61 6c 69 7a 65 |fferent |localize|
|00004910| 64 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 74 68 |d versio|ns of th|
|00004920| 65 20 73 61 6d 65 20 61 | 70 70 6c 69 63 61 74 69 |e same a|pplicati|
|00004930| 6f 6e 2e 0d 50 61 72 61 | 6d 65 74 65 72 73 20 74 |on..Para|meters t|
|00004940| 6f 20 57 68 69 63 68 4c | 61 6e 67 75 61 67 65 52 |o WhichL|anguageR|
|00004950| 65 73 6f 75 72 63 65 73 | 28 29 3a 0d 3c 53 65 65 |esources|():.<See|
|00004960| 20 70 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 49 | paramet|ers to I|
|00004970| 6e 69 74 49 4e 54 4c 47 | 6c 6f 62 61 6c 73 28 29 |nitINTLG|lobals()|
|00004980| 2c 20 61 62 6f 76 65 3e | 0d 4d 65 6e 75 54 69 74 |, above>|.MenuTit|
|00004990| 6c 65 28 20 6d 65 6e 75 | 49 74 65 6d 4f 72 64 2c |le( menu|ItemOrd,|
|000049a0| 20 4d 65 6e 75 4f 72 64 | 2c 20 48 6d 65 6e 75 20 | MenuOrd|, Hmenu |
|000049b0| 29 20 0d 54 68 69 73 20 | 74 61 73 6b 20 6d 61 74 |) .This |task mat|
|000049c0| 63 68 65 73 20 74 68 65 | 20 6d 65 6e 75 69 74 65 |ches the| menuite|
|000049d0| 6d 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 20 |m specif|ied by |
|000049e0| 69 74 73 20 6f 72 64 69 | 6e 61 6c 74 69 79 20 61 |its ordi|naltiy a|
|000049f0| 6e 64 20 70 72 69 6e 74 | 73 20 61 6e 64 20 72 65 |nd print|s and re|
|00004a00| 74 75 72 6e 73 20 69 74 | 73 20 74 69 74 6c 65 2e |turns it|s title.|
|00004a10| 0d 50 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 4d |.Paramet|ers to M|
|00004a20| 65 6e 75 54 69 74 6c 65 | 28 29 0d 50 61 72 61 6d |enuTitle|().Param|
|00004a30| 65 74 65 72 20 09 3a 20 | 6d 65 6e 75 49 74 65 6d |eter .: |menuItem|
|00004a40| 4f 72 64 0d 50 61 72 61 | 6d 65 74 65 72 20 54 79 |Ord.Para|meter Ty|
|00004a50| 70 65 09 3a 20 69 6e 74 | 65 67 65 72 09 0d 50 61 |pe.: int|eger..Pa|
|00004a60| 72 61 6d 65 74 65 72 20 | 44 61 74 61 09 3a 20 4f |rameter |Data.: O|
|00004a70| 72 64 69 6e 61 6c 69 74 | 79 20 6f 66 20 74 68 65 |rdinalit|y of the|
|00004a80| 20 6d 65 6e 75 49 74 65 | 6d 2e 0d 50 61 72 61 6d | menuIte|m..Param|
|00004a90| 65 74 65 72 20 09 3a 20 | 4d 65 6e 75 4f 72 64 0d |eter .: |MenuOrd.|
|00004aa0| 50 61 72 61 6d 65 74 65 | 72 20 54 79 70 65 09 3a |Paramete|r Type.:|
|00004ab0| 20 69 6e 74 65 67 65 72 | 09 0d 50 61 72 61 6d 65 | integer|..Parame|
|00004ac0| 74 65 72 20 44 61 74 61 | 09 3a 20 4f 72 64 69 6e |ter Data|.: Ordin|
|00004ad0| 61 6c 69 74 79 20 6f 66 | 20 74 68 65 20 6d 65 6e |ality of| the men|
|00004ae0| 75 2e 0d 50 61 72 61 6d | 65 74 65 72 20 09 3a 20 |u..Param|eter .: |
|00004af0| 48 6d 65 6e 75 20 5b 4f | 70 74 69 6f 6e 61 6c 5d |Hmenu [O|ptional]|
|00004b00| 0d 50 61 72 61 6d 65 74 | 65 72 20 54 79 70 65 09 |.Paramet|er Type.|
|00004b10| 3a 20 69 6e 74 65 67 65 | 72 09 0d 50 61 72 61 6d |: intege|r..Param|
|00004b20| 65 74 65 72 20 44 61 74 | 61 09 3a 20 4f 72 64 69 |eter Dat|a.: Ordi|
|00004b30| 6e 61 6c 69 74 79 20 6f | 66 20 74 68 65 20 68 69 |nality o|f the hi|
|00004b40| 65 72 61 72 63 68 69 63 | 61 6c 20 6d 65 6e 75 2e |erarchic|al menu.|
|00004b50| 20 49 66 20 74 68 65 20 | 6d 65 6e 75 69 74 65 6d | If the |menuitem|
|00004b60| 20 69 73 20 63 6f 6e 74 | 61 69 6e 65 64 20 69 6e | is cont|ained in|
|00004b70| 20 61 20 68 69 65 72 61 | 63 68 69 63 61 6c 20 6d | a hiera|chical m|
|00004b80| 65 6e 75 20 74 68 69 73 | 20 69 73 20 74 68 65 20 |enu this| is the |
|00004b90| 74 6f 70 6d 6f 73 74 20 | 6d 65 6e 75 2c 20 6f 74 |topmost |menu, ot|
|00004ba0| 68 65 72 77 69 73 65 20 | 4d 65 6e 75 4f 72 64 20 |herwise |MenuOrd |
|00004bb0| 69 73 20 74 68 65 20 74 | 6f 70 6d 6f 73 74 20 6d |is the t|opmost m|
|00004bc0| 65 6e 75 2e 0d 52 65 74 | 75 72 6e 20 56 61 6c 75 |enu..Ret|urn Valu|
|00004bd0| 65 73 20 66 72 6f 6d 20 | 4d 65 6e 75 54 69 74 6c |es from |MenuTitl|
|00004be0| 65 28 29 0d 54 79 70 65 | 09 3a 20 6c 69 73 74 0d |e().Type|.: list.|
|00004bf0| 44 61 74 61 09 3a 20 7b | 74 68 65 4d 49 54 69 74 |Data.: {|theMITit|
|00004c00| 6c 65 2c 74 68 65 4d 65 | 6e 75 48 54 69 74 6c 65 |le,theMe|nuHTitle|
|00004c10| 2c 74 68 65 4d 65 6e 75 | 54 69 74 6c 65 7d 0d 57 |,theMenu|Title}.W|
|00004c20| 68 69 63 68 53 63 72 69 | 70 74 28 20 73 63 72 69 |hichScri|pt( scri|
|00004c30| 70 74 54 69 74 6c 65 20 | 29 0d 54 68 69 73 20 74 |ptTitle |).This t|
|00004c40| 61 73 6b 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |ask retu|rns the |
|00004c50| 63 75 72 72 65 6e 74 20 | 61 6e 64 20 70 72 69 6d |current |and prim|
|00004c60| 61 72 79 20 73 63 72 69 | 70 74 73 20 69 6e 73 74 |ary scri|pts inst|
|00004c70| 61 6c 6c 65 64 2c 20 61 | 6e 64 20 77 69 6c 6c 20 |alled, a|nd will |
|00004c80| 73 65 6c 65 63 74 20 74 | 68 65 20 73 63 72 69 70 |select t|he scrip|
|00004c90| 74 20 73 79 73 74 65 6d | 20 73 70 65 63 69 66 69 |t system| specifi|
|00004ca0| 65 64 20 62 79 20 74 68 | 65 20 69 6e 70 75 74 20 |ed by th|e input |
|00004cb0| 70 61 72 61 6d 65 74 65 | 72 20 53 63 72 69 70 74 |paramete|r Script|
|00004cc0| 54 69 74 6c 65 2c 20 69 | 66 20 69 74 20 69 73 20 |Title, i|f it is |
|00004cd0| 64 65 66 69 6e 65 64 2e | 0d 50 61 72 61 6d 65 74 |defined.|.Paramet|
|00004ce0| 65 72 73 20 74 6f 20 57 | 68 69 63 68 53 63 72 69 |ers to W|hichScri|
|00004cf0| 70 74 28 29 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |pt().Par|ameter .|
|00004d00| 3a 20 73 63 72 69 70 74 | 54 69 74 6c 65 20 5b 6f |: script|Title [o|
|00004d10| 70 74 69 6f 6e 61 6c 5d | 0d 50 61 72 61 6d 65 74 |ptional]|.Paramet|
|00004d20| 65 72 20 54 79 70 65 09 | 3a 20 53 74 72 69 6e 67 |er Type.|: String|
|00004d30| 09 0d 50 61 72 61 6d 65 | 74 65 72 20 44 61 74 61 |..Parame|ter Data|
|00004d40| 09 3a 20 54 69 74 6c 65 | 20 6f 66 20 74 68 65 20 |.: Title| of the |
|00004d50| 64 65 73 69 72 65 64 20 | 73 63 72 69 70 74 20 73 |desired |script s|
|00004d60| 79 73 74 65 6d 2e 0d 52 | 65 74 75 72 6e 20 56 61 |ystem..R|eturn Va|
|00004d70| 6c 75 65 73 20 66 72 6f | 6d 20 49 6e 69 74 49 56 |lues fro|m InitIV|
|00004d80| 59 28 29 0d 54 79 70 65 | 09 3a 20 4c 69 73 74 20 |Y().Type|.: List |
|00004d90| 6f 72 20 69 6e 74 65 67 | 65 72 0d 44 61 74 61 09 |or integ|er.Data.|
|00004da0| 3a 20 4c 69 73 74 20 2d | 20 7b 73 63 72 69 70 74 |: List -| {script|
|00004db0| 54 69 74 6c 65 2c 70 72 | 69 6d 61 72 79 53 63 72 |Title,pr|imaryScr|
|00004dc0| 69 70 74 7d 0d 09 3a 20 | 30 20 2d 20 4e 6f 20 73 |ipt}..: |0 - No s|
|00004dd0| 63 72 69 70 74 73 20 69 | 6e 73 74 61 6c 6c 65 64 |cripts i|nstalled|
|00004de0| 2e 0d 43 75 72 72 65 6e | 74 6c 79 53 65 6c 65 63 |..Curren|tlySelec|
|00004df0| 74 65 64 53 63 72 69 70 | 74 28 20 29 0d 52 65 74 |tedScrip|t( ).Ret|
|00004e00| 75 72 6e 73 20 74 68 65 | 20 6c 61 6e 67 75 61 67 |urns the| languag|
|00004e10| 65 20 69 64 65 6e 74 69 | 66 69 65 72 20 66 6f 72 |e identi|fier for|
|00004e20| 20 74 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 73 | the cur|rently s|
|00004e30| 65 6c 65 63 74 65 64 20 | 73 63 72 69 70 74 20 73 |elected |script s|
|00004e40| 79 73 74 65 6d 20 28 73 | 65 65 20 62 65 6c 6f 77 |ystem (s|ee below|
|00004e50| 20 66 6f 72 20 6c 61 6e | 67 75 61 67 65 20 69 64 | for lan|guage id|
|00004e60| 65 6e 74 69 66 69 65 72 | 73 2e 29 0d 52 4d 20 2d |entifier|s.).RM -|
|00004e70| 20 52 6f 6d 61 6e 0d 4a | 50 20 2d 20 4a 61 70 61 | Roman.J|P - Japa|
|00004e80| 6e 65 73 65 0d 53 43 20 | 2d 20 53 69 6d 70 6c 69 |nese.SC |- Simpli|
|00004e90| 66 69 65 64 20 43 68 69 | 6e 65 73 65 0d 54 43 20 |fied Chi|nese.TC |
|00004ea0| 2d 20 54 72 61 64 69 74 | 69 6f 6e 61 6c 20 43 68 |- Tradit|ional Ch|
|00004eb0| 69 6e 65 73 65 0d 4b 48 | 20 2d 20 4b 6f 72 65 61 |inese.KH| - Korea|
|00004ec0| 6e 0d 41 42 20 2d 20 41 | 72 61 62 69 63 0d 48 42 |n.AB - A|rabic.HB|
|00004ed0| 20 2d 20 48 65 62 72 65 | 77 0d 54 48 20 2d 20 54 | - Hebre|w.TH - T|
|00004ee0| 68 61 69 0d 54 68 65 72 | 65 20 61 72 65 20 6e 6f |hai.Ther|e are no|
|00004ef0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 43 | paramet|ers to C|
|00004f00| 75 72 72 65 6e 74 6c 79 | 53 65 6c 65 63 74 65 64 |urrently|Selected|
|00004f10| 53 63 72 69 70 74 28 29 | 0d 52 65 74 75 72 6e 20 |Script()|.Return |
|00004f20| 56 61 6c 75 65 73 20 66 | 72 6f 6d 20 43 75 72 72 |Values f|rom Curr|
|00004f30| 65 6e 74 6c 79 53 65 6c | 65 63 74 65 64 53 63 72 |entlySel|ectedScr|
|00004f40| 69 70 74 28 29 0d 54 79 | 70 65 09 3a 20 53 74 72 |ipt().Ty|pe.: Str|
|00004f50| 69 6e 67 20 6f 72 20 69 | 6e 74 65 67 65 72 0d 44 |ing or i|nteger.D|
|00004f60| 61 74 61 09 3a 20 53 74 | 72 69 6e 67 20 2d 20 4c |ata.: St|ring - L|
|00004f70| 61 6e 67 75 61 67 65 20 | 49 64 65 6e 74 69 66 69 |anguage |Identifi|
|00004f80| 65 72 20 66 6f 72 20 63 | 75 72 72 65 6e 74 6c 79 |er for c|urrently|
|00004f90| 20 73 65 6c 65 63 74 65 | 64 20 73 63 72 69 70 74 | selecte|d script|
|00004fa0| 20 73 79 73 74 65 6d 2e | 0d 09 3a 20 30 20 2d 20 | system.|..: 0 - |
|00004fb0| 41 20 73 75 70 70 6f 72 | 74 65 64 20 73 63 72 69 |A suppor|ted scri|
|00004fc0| 70 74 20 73 79 73 74 65 | 6d 20 69 73 20 6e 6f 74 |pt syste|m is not|
|00004fd0| 20 69 6e 73 74 61 6c 6c | 65 64 2e 0d 50 72 69 6d | install|ed..Prim|
|00004fe0| 61 72 79 53 63 72 69 70 | 74 28 20 29 0d 52 65 74 |aryScrip|t( ).Ret|
|00004ff0| 75 72 6e 73 20 74 68 65 | 20 6c 61 6e 67 75 61 67 |urns the| languag|
|00005000| 65 20 69 64 65 6e 74 69 | 66 69 65 72 20 66 6f 72 |e identi|fier for|
|00005010| 20 74 68 65 20 70 72 69 | 6d 61 72 79 20 73 63 72 | the pri|mary scr|
|00005020| 69 70 74 20 73 79 73 74 | 65 6d 20 28 73 65 65 20 |ipt syst|em (see |
|00005030| 62 65 6c 6f 77 20 66 6f | 72 20 6c 61 6e 67 75 61 |below fo|r langua|
|00005040| 67 65 20 69 64 65 6e 74 | 69 66 69 65 72 73 2e 29 |ge ident|ifiers.)|
|00005050| 0d 52 09 2d 09 52 6f 6d | 61 6e 0d 4a 50 09 2d 09 |.R.-.Rom|an.JP.-.|
|00005060| 4a 61 70 61 6e 65 73 65 | 0d 53 43 09 2d 09 53 69 |Japanese|.SC.-.Si|
|00005070| 6d 70 6c 69 66 69 65 64 | 20 43 68 69 6e 65 73 65 |mplified| Chinese|
|00005080| 0d 54 43 09 2d 09 54 72 | 61 64 69 74 69 6f 6e 61 |.TC.-.Tr|aditiona|
|00005090| 6c 20 43 68 69 6e 65 73 | 65 0d 4b 48 09 2d 09 4b |l Chines|e.KH.-.K|
|000050a0| 6f 72 65 61 6e 0d 41 42 | 09 2d 09 41 72 61 62 69 |orean.AB|.-.Arabi|
|000050b0| 63 0d 48 42 09 2d 09 48 | 65 62 72 65 77 0d 54 48 |c.HB.-.H|ebrew.TH|
|000050c0| 09 2d 09 54 68 61 69 0d | 54 68 65 72 65 20 61 72 |.-.Thai.|There ar|
|000050d0| 65 20 6e 6f 20 70 61 72 | 61 6d 65 74 65 72 73 20 |e no par|ameters |
|000050e0| 74 6f 20 50 72 69 6d 61 | 72 79 53 63 72 69 70 74 |to Prima|ryScript|
|000050f0| 28 29 0d 52 65 74 75 72 | 6e 20 56 61 6c 75 65 73 |().Retur|n Values|
|00005100| 20 66 72 6f 6d 20 50 72 | 69 6d 61 72 79 53 63 72 | from Pr|imaryScr|
|00005110| 69 70 74 28 29 0d 54 79 | 70 65 09 3a 20 53 74 72 |ipt().Ty|pe.: Str|
|00005120| 69 6e 67 20 6f 72 20 69 | 6e 74 65 67 65 72 0d 44 |ing or i|nteger.D|
|00005130| 61 74 61 09 3a 20 53 74 | 72 69 6e 67 20 2d 20 4c |ata.: St|ring - L|
|00005140| 61 6e 67 75 61 67 65 20 | 49 64 65 6e 74 69 66 69 |anguage |Identifi|
|00005150| 65 72 20 66 6f 72 20 70 | 72 69 6d 61 72 79 20 20 |er for p|rimary |
|00005160| 73 63 72 69 70 74 20 73 | 79 73 74 65 6d 2e 0d 09 |script s|ystem...|
|00005170| 3a 20 30 20 2d 20 41 20 | 73 75 70 70 6f 72 74 65 |: 0 - A |supporte|
|00005180| 64 20 73 63 72 69 70 74 | 20 73 79 73 74 65 6d 20 |d script| system |
|00005190| 69 73 20 6e 6f 74 20 69 | 6e 73 74 61 6c 6c 65 64 |is not i|nstalled|
|000051a0| 2e 0d 57 68 69 63 68 4d | 65 6e 75 49 73 4b 65 79 |..WhichM|enuIsKey|
|000051b0| 42 6f 61 72 64 4d 65 6e | 75 28 20 70 4b 65 79 42 |BoardMen|u( pKeyB|
|000051c0| 6f 61 72 64 4d 65 6e 75 | 53 74 72 69 6e 67 20 29 |oardMenu|String )|
|000051d0| 0d 54 68 69 73 20 74 61 | 73 6b 20 72 65 74 75 72 |.This ta|sk retur|
|000051e0| 6e 73 20 74 68 65 20 6f | 72 64 69 6e 61 6c 69 74 |ns the o|rdinalit|
|000051f0| 79 20 6f 66 20 74 68 65 | 20 6b 65 79 62 6f 61 72 |y of the| keyboar|
|00005200| 64 20 6d 65 6e 75 2e 0d | 50 61 72 61 6d 65 74 65 |d menu..|Paramete|
|00005210| 72 73 20 74 6f 20 57 68 | 69 63 68 4d 65 6e 75 49 |rs to Wh|ichMenuI|
|00005220| 73 4b 65 79 42 6f 61 72 | 64 4d 65 6e 75 28 29 0d |sKeyBoar|dMenu().|
|00005230| 50 61 72 61 6d 65 74 65 | 72 20 09 3a 20 70 4b 65 |Paramete|r .: pKe|
|00005240| 79 42 6f 61 72 64 4d 65 | 6e 75 53 74 72 69 6e 67 |yBoardMe|nuString|
|00005250| 20 0d 50 61 72 61 6d 65 | 74 65 72 20 54 79 70 65 | .Parame|ter Type|
|00005260| 09 3a 20 53 74 72 69 6e | 67 09 0d 50 61 72 61 6d |.: Strin|g..Param|
|00005270| 65 74 65 72 20 44 61 74 | 61 09 3a 20 54 69 74 6c |eter Dat|a.: Titl|
|00005280| 65 20 6f 66 20 61 20 6d | 65 6e 75 69 74 65 6d 20 |e of a m|enuitem |
|00005290| 69 6e 20 74 68 69 73 20 | 6d 65 6e 75 20 77 68 69 |in this |menu whi|
|000052a0| 63 68 20 77 69 6c 6c 20 | 68 65 6c 70 20 75 73 20 |ch will |help us |
|000052b0| 6c 6f 63 61 74 65 20 74 | 68 65 20 6d 65 6e 75 2e |locate t|he menu.|
|000052c0| 20 20 44 65 66 61 75 6c | 74 20 69 73 20 27 41 62 | Defaul|t is 'Ab|
|000052d0| 6f 75 74 20 4b 65 79 62 | 6f 61 72 64 73 c9 27 2e |out Keyb|oards.'.|
|000052e0| 0d 52 65 74 75 72 6e 20 | 56 61 6c 75 65 73 20 66 |.Return |Values f|
|000052f0| 72 6f 6d 20 57 68 69 63 | 68 4d 65 6e 75 49 73 4b |rom Whic|hMenuIsK|
|00005300| 65 79 42 6f 61 72 64 4d | 65 6e 75 28 29 0d 54 79 |eyBoardM|enu().Ty|
|00005310| 70 65 09 3a 20 69 6e 74 | 65 67 65 72 0d 44 61 74 |pe.: int|eger.Dat|
|00005320| 61 09 3a 20 6f 72 64 69 | 6e 61 6c 69 74 79 20 6f |a.: ordi|nality o|
|00005330| 66 20 4b 65 79 42 6f 61 | 72 64 4d 65 6e 75 20 2d |f KeyBoa|rdMenu -|
|00005340| 20 69 66 20 66 6f 75 6e | 64 2e 0d 09 3a 20 30 20 | if foun|d...: 0 |
|00005350| 2d 20 6e 6f 74 20 66 6f | 75 6e 64 2e 0d 53 74 72 |- not fo|und..Str|
|00005360| 69 6e 67 73 54 6f 53 65 | 6c 65 63 74 53 63 72 69 |ingsToSe|lectScri|
|00005370| 70 74 28 20 70 4c 61 6e | 67 75 61 67 65 43 6f 64 |pt( pLan|guageCod|
|00005380| 65 29 0d 52 65 74 75 72 | 6e 73 20 74 68 65 20 61 |e).Retur|ns the a|
|00005390| 20 6c 69 73 74 20 77 68 | 69 63 68 20 63 6f 6e 74 | list wh|ich cont|
|000053a0| 61 69 6e 73 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |ains all| of the |
|000053b0| 73 74 72 69 6e 67 73 20 | 66 6f 72 20 74 68 65 20 |strings |for the |
|000053c0| 73 63 72 69 70 74 20 64 | 65 66 69 6e 65 64 20 62 |script d|efined b|
|000053d0| 79 20 70 4c 61 6e 67 75 | 61 67 65 43 6f 64 65 2c |y pLangu|ageCode,|
|000053e0| 20 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 73 65 6c | so you| can sel|
|000053f0| 65 63 74 20 69 74 20 66 | 72 6f 6d 20 74 68 65 20 |ect it f|rom the |
|00005400| 6b 65 79 42 6f 61 72 64 | 73 20 6d 65 6e 75 2e 0d |keyBoard|s menu..|
|00005410| 50 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 53 74 |Paramete|rs to St|
|00005420| 72 69 6e 67 73 54 6f 53 | 65 6c 65 63 74 53 63 72 |ringsToS|electScr|
|00005430| 69 70 74 28 29 0d 50 61 | 72 61 6d 65 74 65 72 20 |ipt().Pa|rameter |
|00005440| 09 3a 20 70 4c 61 6e 67 | 75 61 67 65 43 6f 64 65 |.: pLang|uageCode|
|00005450| 0d 50 61 72 61 6d 65 74 | 65 72 20 54 79 70 65 09 |.Paramet|er Type.|
|00005460| 3a 20 53 74 72 69 6e 67 | 09 0d 50 61 72 61 6d 65 |: String|..Parame|
|00005470| 74 65 72 20 44 61 74 61 | 09 3a 20 4c 61 6e 67 75 |ter Data|.: Langu|
|00005480| 61 67 65 20 69 64 65 6e | 74 69 66 79 20 66 6f 72 |age iden|tify for|
|00005490| 20 64 65 73 69 72 65 64 | 20 73 63 72 69 70 74 20 | desired| script |
|000054a0| 73 79 73 74 65 6d 2e 20 | 69 2e 65 2e 20 69 66 20 |system. |i.e. if |
|000054b0| 79 6f 75 20 64 65 73 69 | 72 65 20 74 68 65 20 73 |you desi|re the s|
|000054c0| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 66 6f 72 |cript sy|stem for|
|000054d0| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 79 | United |States y|
|000054e0| 6f 75 20 70 61 73 73 20 | 69 6e 20 27 55 53 27 20 |ou pass |in 'US' |
|000054f0| 61 6e 64 20 61 20 6c 69 | 73 74 20 6f 66 20 73 74 |and a li|st of st|
|00005500| 72 69 6e 67 73 20 77 68 | 69 63 68 20 61 72 65 20 |rings wh|ich are |
|00005510| 74 68 65 20 6d 65 6e 75 | 69 74 65 6d 20 74 69 74 |the menu|item tit|
|00005520| 6c 65 73 20 66 6f 72 20 | 74 68 65 20 55 6e 69 74 |les for |the Unit|
|00005530| 65 64 20 53 74 61 74 65 | 73 20 73 63 72 69 70 74 |ed State|s script|
|00005540| 20 73 79 73 74 65 6d 20 | 77 69 6c 6c 20 62 65 20 | system |will be |
|00005550| 72 65 74 75 72 6e 65 64 | 2e 0d 52 65 74 75 72 6e |returned|..Return|
|00005560| 20 56 61 6c 75 65 73 20 | 66 72 6f 6d 20 53 74 72 | Values |from Str|
|00005570| 69 6e 67 73 54 6f 53 65 | 6c 65 63 74 53 63 72 69 |ingsToSe|lectScri|
|00005580| 70 74 28 29 0d 54 79 70 | 65 09 3a 20 4c 69 73 74 |pt().Typ|e.: List|
|00005590| 20 6f 66 20 73 74 72 69 | 6e 67 73 0d 44 61 74 61 | of stri|ngs.Data|
|000055a0| 09 3a 20 53 74 69 6e 67 | 73 20 77 68 69 63 68 20 |.: Sting|s which |
|000055b0| 61 72 65 20 74 68 65 20 | 6d 65 6e 75 69 74 65 6d |are the |menuitem|
|000055c0| 20 74 69 74 6c 65 73 20 | 66 6f 72 20 74 68 65 20 | titles |for the |
|000055d0| 6c 61 6e 67 75 61 67 65 | 20 69 64 65 6e 74 69 66 |language| identif|
|000055e0| 69 65 72 20 70 61 73 73 | 65 64 20 69 6e 2e 0d 09 |ier pass|ed in...|
|000055f0| 3a 20 30 20 2d 20 54 68 | 65 20 6c 61 6e 67 75 61 |: 0 - Th|e langua|
|00005600| 67 65 20 69 64 65 6e 74 | 69 66 69 65 72 20 77 61 |ge ident|ifier wa|
|00005610| 73 20 6e 6f 74 20 6c 6f | 63 61 74 65 64 20 28 6e |s not lo|cated (n|
|00005620| 6f 74 20 73 75 70 70 6f | 72 74 65 64 29 2e 0d 49 |ot suppo|rted)..I|
|00005630| 73 53 63 72 69 70 74 49 | 6e 73 74 61 6c 6c 65 64 |sScriptI|nstalled|
|00005640| 28 20 70 54 68 65 53 63 | 72 69 70 74 29 0d 52 65 |( pTheSc|ript).Re|
|00005650| 74 75 72 6e 73 20 61 20 | 62 6f 6f 6c 65 61 6e 20 |turns a |boolean |
|00005660| 77 68 69 63 68 20 69 6e | 64 69 63 61 74 65 73 20 |which in|dicates |
|00005670| 77 68 65 74 68 65 72 20 | 74 68 65 20 73 63 72 69 |whether |the scri|
|00005680| 70 74 20 73 79 73 74 65 | 6d 20 73 70 65 63 69 66 |pt syste|m specif|
|00005690| 69 65 64 20 62 79 20 74 | 68 65 20 69 6e 70 75 74 |ied by t|he input|
|000056a0| 20 70 61 72 61 6d 65 74 | 65 72 20 20 70 54 68 65 | paramet|er pThe|
|000056b0| 53 63 72 69 70 74 20 69 | 73 20 69 6e 73 74 61 6c |Script i|s instal|
|000056c0| 6c 65 64 20 6f 72 20 6e | 6f 74 2e 0d 50 61 72 61 |led or n|ot..Para|
|000056d0| 6d 65 74 65 72 73 20 74 | 6f 20 49 73 53 63 72 69 |meters t|o IsScri|
|000056e0| 70 74 49 6e 73 74 61 6c | 6c 65 64 28 29 0d 50 61 |ptInstal|led().Pa|
|000056f0| 72 61 6d 65 74 65 72 20 | 09 3a 20 70 54 68 65 53 |rameter |.: pTheS|
|00005700| 63 72 69 70 74 0d 50 61 | 72 61 6d 65 74 65 72 20 |cript.Pa|rameter |
|00005710| 54 79 70 65 09 3a 20 53 | 74 72 69 6e 67 09 0d 50 |Type.: S|tring..P|
|00005720| 61 72 61 6d 65 74 65 72 | 20 44 61 74 61 09 3a 20 |arameter| Data.: |
|00005730| 4c 61 6e 67 75 61 67 65 | 20 69 64 65 6e 74 69 66 |Language| identif|
|00005740| 69 65 72 20 66 6f 72 20 | 73 63 72 69 70 74 20 73 |ier for |script s|
|00005750| 79 73 74 65 6d 2e 20 0d | 52 65 74 75 72 6e 20 56 |ystem. .|Return V|
|00005760| 61 6c 75 65 73 20 66 72 | 6f 6d 20 49 73 53 63 72 |alues fr|om IsScr|
|00005770| 69 70 74 49 6e 73 74 61 | 6c 6c 65 64 28 29 0d 54 |iptInsta|lled().T|
|00005780| 79 70 65 09 3a 20 69 6e | 74 65 67 65 72 20 28 62 |ype.: in|teger (b|
|00005790| 6f 6f 6c 65 61 6e 29 0d | 44 61 74 61 09 3a 20 31 |oolean).|Data.: 1|
|000057a0| 20 2d 20 53 63 72 69 70 | 74 20 73 79 73 74 65 6d | - Scrip|t system|
|000057b0| 20 69 73 20 69 6e 73 74 | 61 6c 6c 65 64 2e 0d 09 | is inst|alled...|
|000057c0| 3a 20 30 20 2d 20 54 68 | 65 20 73 63 72 69 70 74 |: 0 - Th|e script|
|000057d0| 20 73 79 73 74 65 6d 20 | 69 73 20 6e 6f 74 20 69 | system |is not i|
|000057e0| 6e 73 74 61 6c 6c 65 64 | 2c 20 6f 72 20 69 73 20 |nstalled|, or is |
|000057f0| 6e 6f 74 20 73 75 70 70 | 6f 72 74 65 64 2e 0d 53 |not supp|orted..S|
|00005800| 77 69 74 63 68 53 63 72 | 69 70 74 28 20 70 57 68 |witchScr|ipt( pWh|
|00005810| 69 63 68 53 63 72 69 70 | 74 29 0d 53 77 69 74 63 |ichScrip|t).Switc|
|00005820| 68 65 73 20 74 6f 20 74 | 68 65 20 73 63 72 69 70 |hes to t|he scrip|
|00005830| 74 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 74 |t specif|ied by t|
|00005840| 68 65 20 69 6e 70 75 74 | 20 70 61 72 61 6d 74 65 |he input| paramte|
|00005850| 72 20 70 57 68 69 63 68 | 53 63 72 69 70 74 20 69 |r pWhich|Script i|
|00005860| 66 20 69 74 20 69 73 20 | 69 6e 73 74 61 6c 6c 65 |f it is |installe|
|00005870| 64 2e 0d 50 61 72 61 6d | 65 74 65 72 73 20 74 6f |d..Param|eters to|
|00005880| 20 53 77 69 74 63 68 53 | 63 72 69 70 74 28 29 0d | SwitchS|cript().|
|00005890| 50 61 72 61 6d 65 74 65 | 72 20 09 3a 20 70 57 68 |Paramete|r .: pWh|
|000058a0| 69 63 68 53 63 72 69 70 | 74 0d 50 61 72 61 6d 65 |ichScrip|t.Parame|
|000058b0| 74 65 72 20 54 79 70 65 | 09 3a 20 53 74 72 69 6e |ter Type|.: Strin|
|000058c0| 67 09 0d 50 61 72 61 6d | 65 74 65 72 20 44 61 74 |g..Param|eter Dat|
|000058d0| 61 09 3a 20 4c 61 6e 67 | 75 61 67 65 20 69 64 65 |a.: Lang|uage ide|
|000058e0| 6e 74 69 66 69 65 72 20 | 66 6f 72 20 73 63 72 69 |ntifier |for scri|
|000058f0| 70 74 20 73 79 73 74 65 | 6d 20 74 6f 20 62 65 20 |pt syste|m to be |
|00005900| 73 65 6c 65 63 74 65 64 | 2e 20 0d 52 65 74 75 72 |selected|. .Retur|
|00005910| 6e 20 56 61 6c 75 65 73 | 20 66 72 6f 6d 20 53 77 |n Values| from Sw|
|00005920| 69 74 63 68 53 63 72 69 | 70 74 28 29 0d 54 79 70 |itchScri|pt().Typ|
|00005930| 65 09 3a 20 69 6e 74 65 | 67 65 72 20 28 62 6f 6f |e.: inte|ger (boo|
|00005940| 6c 65 61 6e 29 0d 44 61 | 74 61 09 3a 20 31 20 2d |lean).Da|ta.: 1 -|
|00005950| 20 53 77 69 74 63 68 65 | 64 20 74 6f 20 74 68 65 | Switche|d to the|
|00005960| 20 73 63 72 69 70 74 20 | 73 79 73 74 65 6d 20 73 | script |system s|
|00005970| 75 63 63 65 73 73 66 75 | 6c 6c 79 2e 0d 09 3a 20 |uccessfu|lly...: |
|00005980| 30 20 2d 20 43 6f 75 6c | 64 6e 27 74 20 73 77 69 |0 - Coul|dn't swi|
|00005990| 74 63 68 20 74 6f 20 74 | 68 65 20 73 63 72 69 70 |tch to t|he scrip|
|000059a0| 74 20 73 79 73 74 65 6d | 2e 0d 53 77 69 74 63 68 |t system|..Switch|
|000059b0| 53 63 72 69 70 74 54 6f | 55 53 28 29 0d 53 77 69 |ScriptTo|US().Swi|
|000059c0| 74 63 68 65 73 20 74 6f | 20 74 68 65 20 27 55 53 |tches to| the 'US|
|000059d0| 27 20 73 63 72 69 70 74 | 20 73 79 73 74 65 6d 2e |' script| system.|
|000059e0| 20 20 4e 6f 74 65 3a 20 | 54 68 65 20 6f 72 69 67 | Note: |The orig|
|000059f0| 69 6e 61 6c 20 73 63 72 | 69 70 74 20 73 79 73 74 |inal scr|ipt syst|
|00005a00| 65 6d 20 77 69 6c 6c 20 | 62 65 20 73 61 76 65 64 |em will |be saved|
|00005a10| 20 69 6e 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 20 | in the |global |
|00005a20| 67 54 68 65 43 75 72 72 | 65 6e 74 53 63 72 69 70 |gTheCurr|entScrip|
|00005a30| 74 2e 0d 54 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |t..There| are no |
|00005a40| 70 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 53 77 |paramete|rs to Sw|
|00005a50| 69 74 63 68 53 63 72 69 | 70 74 54 6f 55 53 28 29 |itchScri|ptToUS()|
|00005a60| 0d 52 65 74 75 72 6e 20 | 56 61 6c 75 65 73 20 66 |.Return |Values f|
|00005a70| 72 6f 6d 20 53 77 69 74 | 63 68 53 63 72 69 70 74 |rom Swit|chScript|
|00005a80| 54 6f 55 53 28 29 0d 54 | 79 70 65 09 3a 20 69 6e |ToUS().T|ype.: in|
|00005a90| 74 65 67 65 72 20 28 62 | 6f 6f 6c 65 61 6e 29 0d |teger (b|oolean).|
|00005aa0| 44 61 74 61 09 3a 20 31 | 20 2d 20 53 77 69 74 63 |Data.: 1| - Switc|
|00005ab0| 68 65 64 20 74 6f 20 74 | 68 65 20 27 55 53 27 20 |hed to t|he 'US' |
|00005ac0| 73 63 72 69 70 74 20 73 | 79 73 74 65 6d 20 73 75 |script s|ystem su|
|00005ad0| 63 63 65 73 73 66 75 6c | 6c 79 2e 0d 09 3a 20 30 |ccessful|ly...: 0|
|00005ae0| 20 2d 20 43 6f 75 6c 64 | 6e 27 74 20 73 77 69 74 | - Could|n't swit|
|00005af0| 63 68 20 74 6f 20 74 68 | 65 20 27 55 53 27 20 73 |ch to th|e 'US' s|
|00005b00| 63 72 69 70 74 20 73 79 | 73 74 65 6d 2e 0d 53 77 |cript sy|stem..Sw|
|00005b10| 69 74 63 68 53 63 72 69 | 70 74 42 61 63 6b 54 6f |itchScri|ptBackTo|
|00005b20| 4f 72 69 67 28 29 0d 53 | 77 69 74 63 68 65 73 20 |Orig().S|witches |
|00005b30| 74 6f 20 74 68 65 20 73 | 63 72 69 70 74 20 73 79 |to the s|cript sy|
|00005b40| 73 74 65 6d 20 74 68 61 | 74 20 77 61 73 20 63 75 |stem tha|t was cu|
|00005b50| 72 72 65 6e 74 20 70 72 | 69 6f 72 20 74 6f 20 74 |rrent pr|ior to t|
|00005b60| 68 65 20 63 61 6c 6c 20 | 74 6f 20 53 77 69 74 63 |he call |to Switc|
|00005b70| 68 53 63 72 69 70 74 54 | 6f 55 53 28 29 2e 20 20 |hScriptT|oUS(). |
|00005b80| 54 68 69 73 20 74 61 73 | 6b 20 61 63 63 65 73 73 |This tas|k access|
|00005b90| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 20 67 54 68 | the glo|bal gTh|
|00005ba0| 65 43 75 72 72 65 6e 74 | 53 63 72 69 70 74 20 74 |eCurrent|Script t|
|00005bb0| 6f 20 64 65 74 65 72 6d | 69 6e 65 20 77 68 69 63 |o determ|ine whic|
|00005bc0| 68 20 73 63 72 69 70 74 | 20 73 68 6f 75 6c 64 20 |h script| should |
|00005bd0| 62 65 20 73 65 6c 65 63 | 74 65 64 2e 20 54 68 65 |be selec|ted. The|
|00005be0| 20 67 6c 6f 62 61 6c 20 | 67 54 68 65 43 75 72 72 | global |gTheCurr|
|00005bf0| 65 6e 74 53 63 72 69 70 | 74 20 77 69 6c 6c 20 62 |entScrip|t will b|
|00005c00| 65 20 73 65 74 20 74 6f | 20 30 20 61 66 74 65 72 |e set to| 0 after|
|00005c10| 20 61 20 63 61 6c 6c 20 | 74 6f 20 53 77 69 74 63 | a call |to Switc|
|00005c20| 68 53 63 72 69 70 74 42 | 61 63 6b 54 6f 4f 72 69 |hScriptB|ackToOri|
|00005c30| 67 28 29 20 69 73 20 6d | 61 64 65 2e 0d 54 68 65 |g() is m|ade..The|
|00005c40| 72 65 20 61 72 65 20 6e | 6f 20 70 61 72 61 6d 65 |re are n|o parame|
|00005c50| 74 65 72 73 20 74 6f 20 | 53 77 69 74 63 68 53 63 |ters to |SwitchSc|
|00005c60| 72 69 70 74 42 61 63 6b | 54 6f 4f 72 69 67 28 29 |riptBack|ToOrig()|
|00005c70| 0d 52 65 74 75 72 6e 20 | 56 61 6c 75 65 73 20 66 |.Return |Values f|
|00005c80| 72 6f 6d 20 53 77 69 74 | 63 68 53 63 72 69 70 74 |rom Swit|chScript|
|00005c90| 42 61 63 6b 54 6f 4f 72 | 69 67 28 29 0d 54 79 70 |BackToOr|ig().Typ|
|00005ca0| 65 09 3a 20 69 6e 74 65 | 67 65 72 20 28 62 6f 6f |e.: inte|ger (boo|
|00005cb0| 6c 65 61 6e 29 0d 44 61 | 74 61 09 3a 20 31 20 2d |lean).Da|ta.: 1 -|
|00005cc0| 20 53 77 69 74 63 68 65 | 64 20 74 6f 20 74 68 65 | Switche|d to the|
|00005cd0| 20 6f 72 69 67 69 6e 61 | 6c 20 73 63 72 69 70 74 | origina|l script|
|00005ce0| 20 73 79 73 74 65 6d 20 | 73 75 63 63 65 73 73 66 | system |successf|
|00005cf0| 75 6c 6c 79 2e 0d 09 3a | 20 30 20 2d 20 43 6f 75 |ully...:| 0 - Cou|
|00005d00| 6c 64 6e 27 74 20 73 77 | 69 74 63 68 20 74 6f 20 |ldn't sw|itch to |
|00005d10| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 73 63 72 |the orig|inal scr|
|00005d20| 69 70 74 20 73 79 73 74 | 65 6d 2e 0d 57 68 61 74 |ipt syst|em..What|
|00005d30| 52 65 73 6f 75 72 63 65 | 42 61 73 65 28 20 70 4c |Resource|Base( pL|
|00005d40| 61 6e 67 75 61 67 65 49 | 64 65 6e 74 69 66 69 65 |anguageI|dentifie|
|00005d50| 72 20 29 0d 54 68 69 73 | 20 74 61 73 6b 20 74 61 |r ).This| task ta|
|00005d60| 6b 65 73 20 61 20 6c 61 | 6e 67 75 61 67 65 20 69 |kes a la|nguage i|
|00005d70| 64 65 6e 74 69 66 69 65 | 72 20 61 73 20 61 6e 20 |dentifie|r as an |
|00005d80| 69 6e 70 75 74 20 70 61 | 72 61 6d 65 74 65 72 20 |input pa|rameter |
|00005d90| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |and retu|rns the |
|00005da0| 62 61 73 65 20 72 65 73 | 6f 75 72 63 65 20 49 44 |base res|ource ID|
|00005db0| 20 66 6f 72 20 74 68 61 | 74 20 6c 61 6e 67 75 61 | for tha|t langua|
|00005dc0| 67 65 2e 0d 50 61 72 61 | 6d 65 74 65 72 73 20 74 |ge..Para|meters t|
|00005dd0| 6f 20 57 68 61 74 52 65 | 73 6f 75 72 63 65 42 61 |o WhatRe|sourceBa|
|00005de0| 73 65 28 29 0d 50 61 72 | 61 6d 65 74 65 72 20 09 |se().Par|ameter .|
|00005df0| 3a 20 70 4c 61 6e 67 75 | 61 67 65 49 64 65 6e 74 |: pLangu|ageIdent|
|00005e00| 69 66 69 65 72 20 0d 50 | 61 72 61 6d 65 74 65 72 |ifier .P|arameter|
|00005e10| 20 54 79 70 65 09 3a 20 | 53 74 72 69 6e 67 09 0d | Type.: |String..|
|00005e20| 50 61 72 61 6d 65 74 65 | 72 20 44 61 74 61 09 3a |Paramete|r Data.:|
|00005e30| 20 4c 61 6e 67 75 61 67 | 65 20 69 64 65 6e 74 69 | Languag|e identi|
|00005e40| 66 69 65 72 20 66 6f 72 | 20 73 63 72 69 70 74 20 |fier for| script |
|00005e50| 73 79 73 74 65 6d 20 74 | 68 61 74 20 79 6f 75 20 |system t|hat you |
|00005e60| 77 61 6e 74 20 74 68 65 | 20 62 61 73 65 20 72 65 |want the| base re|
|00005e70| 73 6f 75 72 63 65 20 49 | 44 20 66 6f 72 2e 20 0d |source I|D for. .|
|00005e80| 52 65 74 75 72 6e 20 56 | 61 6c 75 65 73 20 66 72 |Return V|alues fr|
|00005e90| 6f 6d 20 57 68 61 74 52 | 65 73 6f 75 72 63 65 42 |om WhatR|esourceB|
|00005ea0| 61 73 65 28 29 0d 54 79 | 70 65 09 3a 20 69 6e 74 |ase().Ty|pe.: int|
|00005eb0| 65 67 65 72 20 0d 44 61 | 74 61 09 3a 20 42 61 73 |eger .Da|ta.: Bas|
|00005ec0| 65 20 72 65 73 6f 75 72 | 63 65 20 49 44 20 66 6f |e resour|ce ID fo|
|00005ed0| 72 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |r the sp|ecified |
|00005ee0| 6c 61 6e 67 75 61 67 65 | 20 69 64 65 6e 74 69 66 |language| identif|
|00005ef0| 69 65 72 2e 0d 54 79 70 | 65 45 6e 67 6c 69 73 68 |ier..Typ|eEnglish|
|00005f00| 54 65 78 74 28 29 0d 53 | 77 69 74 63 68 65 73 20 |Text().S|witches |
|00005f10| 74 6f 20 74 68 65 20 55 | 2e 53 2e 20 73 63 72 69 |to the U|.S. scri|
|00005f20| 70 74 20 73 79 73 74 65 | 6d 2c 20 74 79 70 65 20 |pt syste|m, type |
|00005f30| 61 20 6c 69 6e 65 20 6f | 66 20 65 6e 67 6c 69 73 |a line o|f englis|
|00005f40| 68 20 74 65 78 74 20 61 | 6e 64 20 73 77 69 74 63 |h text a|nd switc|
|00005f50| 68 65 73 20 62 61 63 6b | 20 74 6f 20 74 68 65 20 |hes back| to the |
|00005f60| 6f 72 69 67 69 6e 61 6c | 20 73 63 72 69 70 74 2e |original| script.|
|00005f70| 20 4e 6f 74 65 3a 20 54 | 68 65 20 65 6e 67 6c 69 | Note: T|he engli|
|00005f80| 73 68 20 73 74 72 69 6e | 67 20 74 68 61 74 20 69 |sh strin|g that i|
|00005f90| 73 20 74 79 70 65 64 20 | 69 73 20 74 68 65 20 67 |s typed |is the g|
|00005fa0| 54 65 78 74 53 74 72 20 | 66 6f 72 20 27 55 53 27 |TextStr |for 'US'|
|00005fb0| 2e 0d 54 68 65 72 65 20 | 61 72 65 20 6e 6f 20 70 |..There |are no p|
|00005fc0| 61 72 61 6d 65 74 65 72 | 73 20 74 6f 20 54 79 70 |arameter|s to Typ|
|00005fd0| 65 45 6e 67 6c 69 73 68 | 54 65 78 74 28 29 2e 0d |eEnglish|Text()..|
|00005fe0| 20 0d 54 68 65 72 65 20 | 61 72 65 20 6e 6f 20 72 | .There |are no r|
|00005ff0| 65 74 75 72 6e 20 56 61 | 6c 75 65 73 20 66 72 6f |eturn Va|lues fro|
|00006000| 6d 20 54 79 70 65 45 6e | 67 6c 69 73 68 54 65 78 |m TypeEn|glishTex|
|00006010| 74 28 29 2e 0d 47 65 6e | 65 72 61 74 65 53 74 61 |t()..Gen|erateSta|
|00006020| 6e 64 61 72 64 46 6f 6e | 74 52 65 63 6f 72 64 28 |ndardFon|tRecord(|
|00006030| 29 0d 47 65 6e 65 72 61 | 74 65 73 20 61 20 66 6f |).Genera|tes a fo|
|00006040| 6e 74 20 72 65 63 6f 72 | 64 20 62 61 73 65 64 20 |nt recor|d based |
|00006050| 6f 6e 20 74 68 65 20 66 | 69 72 73 74 20 65 6c 65 |on the f|irst ele|
|00006060| 6d 65 6e 74 20 6f 66 20 | 67 46 6f 6e 74 4c 69 73 |ment of |gFontLis|
|00006070| 74 2c 20 74 68 65 20 66 | 69 72 73 74 20 65 6c 65 |t, the f|irst ele|
|00006080| 6d 65 6e 74 20 6f 66 20 | 67 46 6f 6e 74 53 69 7a |ment of |gFontSiz|
|00006090| 65 4c 69 73 74 20 61 6e | 64 20 74 68 65 20 66 69 |eList an|d the fi|
|000060a0| 72 73 74 20 74 77 6f 20 | 65 6c 65 6d 65 6e 74 73 |rst two |elements|
|000060b0| 20 6f 66 20 67 46 6f 6e | 74 53 74 79 6c 65 4c 69 | of gFon|tStyleLi|
|000060c0| 73 74 2e 20 20 54 68 69 | 73 20 74 61 73 6b 20 69 |st. Thi|s task i|
|000060d0| 73 20 75 73 65 64 20 74 | 6f 20 67 65 6e 65 72 61 |s used t|o genera|
|000060e0| 74 65 20 74 68 65 20 73 | 61 6d 65 20 66 6f 6e 74 |te the s|ame font|
|000060f0| 72 65 63 6f 72 64 20 66 | 6f 72 20 70 65 72 66 6f |record f|or perfo|
|00006100| 72 6d 61 6e 63 65 20 74 | 65 73 74 69 6e 67 2c 20 |rmance t|esting, |
|00006110| 62 79 20 20 61 6c 77 61 | 79 73 20 75 73 69 6e 67 |by alwa|ys using|
|00006120| 20 74 68 65 20 73 61 6d | 65 20 66 6f 6e 74 20 72 | the sam|e font r|
|00006130| 65 63 6f 72 64 69 74 20 | 69 73 20 70 6f 73 73 69 |ecordit |is possi|
|00006140| 62 6c 65 20 74 6f 20 63 | 6f 6d 70 61 72 65 20 74 |ble to c|ompare t|
|00006150| 68 65 20 65 6c 61 70 73 | 65 64 20 74 69 6d 65 20 |he elaps|ed time |
|00006160| 6f 66 20 74 77 6f 20 73 | 65 70 65 72 61 74 65 20 |of two s|eperate |
|00006170| 72 75 6e 73 2e 0d 54 68 | 65 72 65 20 61 72 65 20 |runs..Th|ere are |
|00006180| 6e 6f 20 70 61 72 61 6d | 65 74 65 72 73 20 74 6f |no param|eters to|
|00006190| 20 47 65 6e 65 72 61 74 | 65 53 74 61 6e 64 61 72 | Generat|eStandar|
|000061a0| 64 46 6f 6e 74 52 65 63 | 6f 72 64 28 29 0d 20 0d |dFontRec|ord(). .|
|000061b0| 54 68 65 72 65 20 61 72 | 65 20 6e 6f 20 72 65 74 |There ar|e no ret|
|000061c0| 75 72 6e 20 56 61 6c 75 | 65 73 20 66 72 6f 6d 20 |urn Valu|es from |
|000061d0| 47 65 6e 65 72 61 74 65 | 53 74 61 6e 64 61 72 64 |Generate|Standard|
|000061e0| 46 6f 6e 74 52 65 63 6f | 72 64 28 29 0d 48 61 6e |FontReco|rd().Han|
|000061f0| 64 6c 65 44 6f 75 62 6c | 65 42 79 74 65 53 74 72 |dleDoubl|eByteStr|
|00006200| 69 6e 67 73 20 29 0d 44 | 65 66 69 6e 65 73 20 61 |ings ).D|efines a|
|00006210| 6e 20 6f 76 65 72 72 69 | 64 65 20 74 61 73 6b 20 |n overri|de task |
|00006220| 66 6f 72 20 74 79 70 65 | 53 74 72 20 69 66 20 74 |for type|Str if t|
|00006230| 68 65 20 63 75 72 72 65 | 6e 74 20 73 63 72 69 70 |he curre|nt scrip|
|00006240| 74 20 73 79 73 74 65 6d | 20 75 73 65 73 20 64 6f |t system| uses do|
|00006250| 75 62 6c 65 20 62 79 74 | 65 20 63 68 61 72 61 63 |uble byt|e charac|
|00006260| 74 65 72 73 2e 20 20 54 | 68 65 20 73 69 64 65 20 |ters. T|he side |
|00006270| 65 66 66 65 63 74 20 6f | 66 20 74 68 69 73 20 74 |effect o|f this t|
|00006280| 61 73 6b 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |ask is t|hat the |
|00006290| 67 6c 6f 62 61 6c 20 67 | 54 79 70 65 53 74 72 4f |global g|TypeStrO|
|000062a0| 76 65 72 52 69 64 65 20 | 77 69 6c 6c 20 62 65 20 |verRide |will be |
|000062b0| 64 65 66 69 6e 65 64 20 | 61 6e 64 20 61 6c 6c 20 |defined |and all |
|000062c0| 63 61 6c 6c 73 20 74 6f | 20 54 79 70 65 53 74 72 |calls to| TypeStr|
|000062d0| 28 29 20 77 69 6c 6c 20 | 62 65 20 72 65 64 69 72 |() will |be redir|
|000062e0| 65 63 74 65 64 20 74 6f | 20 63 61 6c 6c 20 74 68 |ected to| call th|
|000062f0| 65 20 74 61 73 6b 20 74 | 68 61 74 20 68 61 73 20 |e task t|hat has |
|00006300| 62 65 65 6e 20 64 65 66 | 69 6e 65 64 20 66 6f 72 |been def|ined for|
|00006310| 20 61 20 73 70 65 63 69 | 66 69 63 20 73 63 72 69 | a speci|fic scri|
|00006320| 70 74 20 73 79 73 74 65 | 6d 2e 20 54 6f 20 72 65 |pt syste|m. To re|
|00006330| 6d 6f 76 65 20 74 68 65 | 20 65 66 66 65 63 74 73 |move the| effects|
|00006340| 20 6f 66 20 74 68 69 73 | 20 63 61 6c 6c 20 69 74 | of this| call it|
|00006350| 20 69 73 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 | is poss|ible to |
|00006360| 72 65 64 65 66 69 6e 65 | 20 67 54 79 70 65 53 74 |redefine| gTypeSt|
|00006370| 72 4f 76 65 72 52 69 64 | 65 20 61 73 20 66 6f 6c |rOverRid|e as fol|
|00006380| 6c 6f 77 73 3a 0d 67 6c | 6f 62 61 6c 20 67 54 79 |lows:.gl|obal gTy|
|00006390| 70 65 53 74 72 4f 76 65 | 72 52 69 64 65 20 3a 3d |peStrOve|rRide :=|
|000063a0| 20 30 3b 0d 54 68 65 72 | 65 20 61 72 65 20 6e 6f | 0;.Ther|e are no|
|000063b0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 74 6f 20 48 | paramet|ers to H|
|000063c0| 61 6e 64 6c 65 44 6f 75 | 62 6c 65 42 79 74 65 53 |andleDou|bleByteS|
|000063d0| 74 72 69 6e 67 73 28 29 | 0d 20 0d 52 65 74 75 72 |trings()|. .Retur|
|000063e0| 6e 20 56 61 6c 75 65 73 | 20 66 72 6f 6d 20 48 61 |n Values| from Ha|
|000063f0| 6e 64 6c 65 44 6f 75 62 | 6c 65 42 79 74 65 53 74 |ndleDoub|leByteSt|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.